![]() |
Murl Engine API
Version 2018.3
|
The IClipSequencer graph node interface. More...
#include <murl_graph_i_clip_sequencer.h>
The IClipSequencer graph node interface.
A clip sequencer is similar to a state machine, in that it manages a set of individual Graph::IClip child nodes (states) and transitions between them (Graph::IClipTransition). Both types of nodes must be defined as direct children of the sequencer. In addition, a start clip must be defined, which is active when the sequencer is initialized (see GetStartClipNodeTarget()).
Unlike a "traditional" state machine, a clip sequencer allows more than one "state" (i.e. clip) to be active at the same time, in order to smoothly blend between them to create smooth animations. For this reason, the Graph::IClipTransition interface provides methods to set in and out transition durations and offsets.
See Graph::IClip and Graph::IClipTransition for details.
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual IClipNodeTarget * | GetStartClipNodeTarget ()=0 |
Get the mutable Graph::IClipNodeTarget container storing the start clip. More... | |
virtual const IClipNodeTarget * | GetStartClipNodeTarget () const =0 |
Get the constant Graph::IClipNodeTarget container storing the start clip. More... | |
virtual IClip * | GetCurrentClip ()=0 |
Get the currently active clip. More... | |
virtual const IClip * | GetCurrentClip () const =0 |
Get the currently active clip. More... | |
virtual Bool | Reset ()=0 |
Reset the sequencer to its initial state. More... | |
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
|
pure virtual |
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.
|
pure virtual |
Get the mutable Graph::IClipNodeTarget container storing the start clip.
This method returns a mutable pointer to the node's Graph::IClipNodeTarget container, which allows to set or query the sequencer's start clip.
|
pure virtual |
Get the constant Graph::IClipNodeTarget container storing the start clip.
This method returns a constant pointer to the node's Graph::IClipNodeTarget container, which allows to query the sequencer's start clip.
|
pure virtual |
Get the currently active clip.
|
pure virtual |
Get the currently active clip.
|
pure virtual |
Reset the sequencer to its initial state.