TimeLine module Allows to creates time lines: sequences of text events
◆ orxTIMELINE
◆ orxTIMELINE_EVENT
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.
◆ orxTimeLine_AddTrackFromConfig()
Adds a track to a TimeLine from config
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
[in] | _zTrackID | Config ID return orxSTATUS_SUCCESS / orxSTATUS_FAILURE |
◆ orxTimeLine_ClearCache()
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
◆ orxTimeLine_Create()
◆ orxTimeLine_Delete()
Deletes a TimeLine
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxTimeLine_Enable()
Enables/disables a TimeLine
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
[in] | _bEnable | Enable / disable |
◆ orxTimeLine_Exit()
orxDLLAPI void orxFASTCALL orxTimeLine_Exit |
( |
| ) |
|
|
extern |
Exits from the TimeLine module
◆ orxTimeLine_GetCount()
Gets how many tracks are currently in use
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
- Returns
- orxU32
◆ orxTimeLine_GetTrackDuration()
orxDLLAPI orxFLOAT orxFASTCALL orxTimeLine_GetTrackDuration |
( |
const orxSTRING | _zTrackID | ) |
|
|
extern |
Gets a track duration using its config ID
- Parameters
-
[in] | _zTrackID | Config ID of the concerned track |
- Returns
- Duration if found, -orxFLOAT_1 otherwise
◆ orxTimeLine_Init()
Inits the TimeLine module
- Returns
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
◆ orxTimeLine_IsEnabled()
Is TimeLine enabled?
- Parameters
-
[in] | _pstTimeLine | Concerned TimeLine |
- Returns
- orxTRUE if enabled, orxFALSE otherwise
◆ orxTimeLine_RemoveTrackFromConfig()
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
◆ orxTimeLine_Setup()
orxDLLAPI void orxFASTCALL orxTimeLine_Setup |
( |
| ) |
|
|
extern |