TimeLine module Allows to creates time lines: sequences of text events
Event enum
Enumerator |
---|
orxTIMELINE_EVENT_TRACK_START |
Event sent when a track starts
|
orxTIMELINE_EVENT_TRACK_STOP |
Event sent when a track stops
|
orxTIMELINE_EVENT_TRACK_ADD |
Event sent when a track is added
|
orxTIMELINE_EVENT_TRACK_REMOVE |
Event sent when a track is removed
|
orxTIMELINE_EVENT_LOOP |
Event sent when a track is looping
|
orxTIMELINE_EVENT_TRIGGER |
Event sent when an event is triggered
|
orxTIMELINE_EVENT_NUMBER |
|
orxTIMELINE_EVENT_NONE |
|
Definition at line 58 of file orxTimeLine.h.
Adds a track to a TimeLine from config
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
[in] | _zTrackID | Config ID return orxSTATUS_SUCCESS / orxSTATUS_FAILURE |
Clears cache (if any TimeLine track is still in active use, it'll remain in memory until not referenced anymore)
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
Creates an empty TimeLine
- Returns
- orxTIMELINE / orxNULL
Deletes a TimeLine
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
Enables/disables a TimeLine
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
[in] | _bEnable | Enable / disable |
Exits from the TimeLine module
Gets how many tracks are currently in use
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
- Returns
- orxU32
orxDLLAPI orxFLOAT orxFASTCALL orxTimeLine_GetTrackDuration |
( |
const orxSTRING |
_zTrackID | ) |
|
Gets a track duration using its config ID
- Parameters
-
[in] | _zTrackID | Config ID of the concerned track |
- Returns
- Duration if found, -orxFLOAT_1 otherwise
Inits the TimeLine module
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
Is TimeLine enabled?
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
- Returns
- orxTRUE if enabled, orxFALSE otherwise
Removes a track using its config ID
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
[in] | _zTrackID | Config ID of the track to remove |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE