![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IPlayable property interface.
This interface provides basic properties of a "playable" object, e.g. an audio or video sequence.
Enable/disable endless looping. If set to true, the playable keeps looping through its source objects even when the timeline's actual time value is beyond the end of the sequence duration.
Boolean SetEndlessLoopEnabled(Boolean enabled)
enabled | If true, endless looping is enabled. |
Check if endless looping is enabled.
Boolean IsEndlessLoopEnabled()
Enable/disable timeline stalling. If set to true, the playable can stall the currently active timeline when e.g. there is no input data available or the decoding process lags behind. This is useful if other animations shall be synchronized to e.g. audio or video playback.
Boolean SetTimelineStallingEnabled(Boolean enabled)
enabled | If true, timeline stalling is enabled. |
Check if timeline stalling is enabled.
Boolean IsTimelineStallingEnabled()
Get the total duration of the playable.
Number GetTotalDuration()