![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IVideoSource graph node interface.
This interface represents a node referencing a read-only Resource::IVideo object, which can be played back by assigning it to one or more individual Graph::IVideoSequence nodes.
Get the constant Graph::INode interface. This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
Murl.Graph.INode GetNodeInterface()
Get a constant Graph::IVideoResourceTarget container. This method returns a constant pointer to a Graph::IVideoResourceTarget container, which allows to query the video resources referenced by a node implementing this interface.
Murl.Graph.IGenericResourceTarget.ResourceIVideo GetVideoResourceTarget()
Set the video node's buffer type.
Boolean SetBufferType(Murl.IEnums.BufferType type)
type | The buffer type. |
Get the video node's buffer type.
Murl.IEnums.BufferType GetBufferType()
Get the duration of the video.
Number GetDuration()
Get a video stream.
Murl.IVideoStream AcquireVideoStream()
Release a previously acquired video stream.
Boolean ReleaseVideoStream(Murl.IVideoStream stream)
stream | The video stream to release |