![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IAudioSequence graph node interface.
An audio sequence represents a single instance of a playable sound object, that can be positioned within the virtual world space. It can reference any number of individual audio source nodes that can be seamlessly played back in the order they are specified through the node's Graph::IAudioSourceNodeTarget.
Use the interface's Graph::IPlayable base to query the total duration, and set or query endless looping.
Use the interface's Graph::IAudible base to access audio parameters like volume, sample format etc.
See Graph::IAudioSource for defining individual sound objects.
Murl.Graph.IPlayable
Murl.Graph.IAudible
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 the constant Graph::ITransform interface. This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.
Murl.Graph.ITransform GetTransformInterface()
Get the constant Graph::IAudioSourceNodeTarget container. This method returns a constant pointer to the node's Graph::IAudioSourceNodeTarget container, which allows to query the audio sequence's referenced audio objects.
Murl.Graph.IGenericNodeTarget.GraphIAudioSource GetAudioSourceNodeTarget()
Set the timeline unit to respond to.
Boolean SetTimelineUnit(Integer unit)
unit | The timeline unit in the range from 0 to IEnums::NUM_TIMELINE_UNITS-1. |
Get the timeline unit responding to.
Integer GetTimelineUnit()