The IClipSequencer graph node interface. More...
#include "murl_graph_i_clip_sequencer.h"
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... | |
Detailed Description
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.
Member Function Documentation
◆ GetNodeInterface() [1/2]
|
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.
- Returns
- The mutable Graph::INode interface, or null if not available
◆ GetNodeInterface() [2/2]
|
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.
- Returns
- The constant Graph::INode interface, or null if not available
◆ GetStartClipNodeTarget() [1/2]
|
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.
- Returns
- The mutable Graph::IClipNodeTarget container.
◆ GetStartClipNodeTarget() [2/2]
|
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.
- Returns
- The constant Graph::IClipNodeTarget container.
◆ GetCurrentClip() [1/2]
|
pure virtual |
Get the currently active clip.
- Returns
- A pointer to a mutable clip, or null if none is active.
◆ GetCurrentClip() [2/2]
|
pure virtual |
Get the currently active clip.
- Returns
- A pointer to a constant clip, or null if none is active.
◆ Reset()
|
pure virtual |
Reset the sequencer to its initial state.
- Returns
- true if successful.
The documentation for this interface was generated from the following file:
- murl_graph_i_clip_sequencer.h