![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IStageTimeline interface.
The IStageTimeline encapsulates a reference to a Graph::ITimeline, an intro and an outro (start / end) time pair.
This object is typically used by the IStage object to create an intro and outro animation behaviour for stages.
(!) Do not confuse with Graph::ITimeline intro / loop / outro feature. When using StartIntro() or StartOutro() the Graph::ITimeline is simply started with the corresponding (start / end) time pair by calling Graph::ITimeline::Start(Real startTime, Real endTime).
Set the intro start time.
SetIntroStartTime(Number startTime)
startTime | The intro start time in seconds. |
Set the intro end time.
SetIntroEndTime(Number endTime)
endTime | The intro end time in seconds. |
Set the intro start and end time.
SetIntroTime(Number startTime, Number endTime)
startTime | The intro start time in seconds. |
endTime | The intro end time in seconds. |
Get the intro start time.
Number GetIntroStartTime()
Get the intro end time.
Number GetIntroEndTime()
Set the outro start time.
SetOutroStartTime(Number startTime)
startTime | The outro start time in seconds. |
Set the outro end time.
SetOutroEndTime(Number endTime)
endTime | The outro end time in seconds. |
Set the outro start and end time.
SetOutroTime(Number startTime, Number endTime)
startTime | The outro start time in seconds. |
endTime | The outro end time in seconds. |
Get the outro start time.
Number GetOutroStartTime()
Get the outro end time.
Number GetOutroEndTime()
Get the Graph::ITimeline object.
Murl.Graph.ITimeline GetTimeline()
Initialize the IStageTimeline object.
Boolean Init(Murl.Graph.IRoot root, String timeline)
root | The graph root node. |
timeline | The full path to the graph <Timeline> instance. |
Deinitialize the IStageTimeline object.
Boolean DeInit()
Start the intro.
Boolean StartIntro()
Start the outro.
Boolean StartOutro()
Check if the timeline is running.
Boolean IsRunning()