Documentation ¶
Index ¶
- func DestroyFlightLoop(flightLoopId FlightLoopId)
- func GetCycleNumber() int
- func GetElapsedTime() float32
- func RegisterFlightLoopCallback(flightLoop FlightLoopFunc, interval float32, ref interface{})
- func ScheduleFlightLoop(flightLoopId FlightLoopId, interval float32, relativeToNow bool)
- func SetFlightLoopCallbackInterval(flightLoop FlightLoopFunc, interval float32, relativeToNow bool, ...)
- func UnregisterFlightLoopCallback(flightLoop FlightLoopFunc, ref interface{})
- type CreateFlightLoopData
- type FlightLoopFunc
- type FlightLoopId
- type FlightLoopPhaseType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyFlightLoop ¶
func DestroyFlightLoop(flightLoopId FlightLoopId)
func GetCycleNumber ¶
func GetCycleNumber() int
func GetElapsedTime ¶
func GetElapsedTime() float32
func RegisterFlightLoopCallback ¶
func RegisterFlightLoopCallback(flightLoop FlightLoopFunc, interval float32, ref interface{})
func ScheduleFlightLoop ¶
func ScheduleFlightLoop(flightLoopId FlightLoopId, interval float32, relativeToNow bool)
func SetFlightLoopCallbackInterval ¶
func SetFlightLoopCallbackInterval(flightLoop FlightLoopFunc, interval float32, relativeToNow bool, ref interface{})
func UnregisterFlightLoopCallback ¶
func UnregisterFlightLoopCallback(flightLoop FlightLoopFunc, ref interface{})
Types ¶
type CreateFlightLoopData ¶
type CreateFlightLoopData struct { Phase FlightLoopPhaseType Callback FlightLoopFunc Ref interface{} }
type FlightLoopFunc ¶
type FlightLoopId ¶
func CreateFlightLoop ¶
func CreateFlightLoop(data *CreateFlightLoopData) FlightLoopId
type FlightLoopPhaseType ¶
type FlightLoopPhaseType int
const ( FlightLoop_Phase_BeforeFlightModel FlightLoopPhaseType = 0 FlightLoop_Phase_AfterFlightModel FlightLoopPhaseType = 1 )
Click to show internal directories.
Click to hide internal directories.