![]() |
Murl Engine API
Version 2018.3
|
The IPlayable property interface. More...
#include <murl_graph_i_playable.h>
The IPlayable property interface.
This interface provides basic properties of a "playable" object, e.g. an audio or video sequence.
Public Member Functions | |
virtual Bool | SetEndlessLoopEnabled (Bool enabled)=0 |
Enable/disable endless looping. More... | |
virtual Bool | IsEndlessLoopEnabled () const =0 |
Check if endless looping is enabled. More... | |
virtual Bool | SetTimelineStallingEnabled (Bool enabled)=0 |
Enable/disable timeline stalling. More... | |
virtual Bool | IsTimelineStallingEnabled () const =0 |
Check if timeline stalling is enabled. More... | |
virtual Double | GetTotalDuration () const =0 |
Get the total duration of the playable. More... | |
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.
enabled | If true, endless looping is enabled. |
|
pure virtual |
Check if endless looping is enabled.
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.
enabled | If true, timeline stalling is enabled. |
|
pure virtual |
Check if timeline stalling is enabled.
|
pure virtual |
Get the total duration of the playable.