![]() |
Murl Engine API
Version 2018.3
|
The IIndexed property interface. More...
#include <murl_graph_i_indexed.h>
The IIndexed property interface.
This interface provides a common way to set a generic index for an object. The meaning of the index property is not explicitly defined; nodes may use the given value for e.g. indexing into their children (see Graph::ISwitch), indexing into an atlas resource (see Graph::IPlaneSequenceGeometry) or whatever other purpose suitable.
Animation controllers may call the SetIndex() method when index keys are present in a given Resource::IAnimation.
Public Member Functions | |
virtual Bool | SetIndex (SInt32 index)=0 |
Set the current index. More... | |
virtual SInt32 | GetIndex () const =0 |
Get the current index. More... | |
virtual SInt32 | GetFirstIndex () const =0 |
Get the lowest valid index. More... | |
virtual UInt32 | GetNumberOfIndices () const =0 |
Get the total number of valid indices. More... | |
Set the current index.
index | The signed index to set. |
|
pure virtual |
Get the current index.
|
pure virtual |
Get the lowest valid index.
|
pure virtual |
Get the total number of valid indices.