Murl::Graph::IDeformable Interface Referenceabstract
The IDeformable property interface. More...
#include "murl_graph_i_deformable.h"
Inheritance diagram for Murl::Graph::IDeformable:
Public Member Functions | |
virtual UInt32 | GetNumberOfDeformStages () const =0 |
Get the number of deform stages present. More... | |
virtual Bool | SetDeformTimeAndFactor (UInt32 stageIndex, Real time, Real factor)=0 |
Set the time and blend factor for a given stage. More... | |
virtual Real | GetDeformTime (UInt32 stageIndex) const =0 |
Get the deform time set for a given stage. More... | |
virtual Real | GetDeformFactor (UInt32 stageIndex) const =0 |
Get the deform factor set for a given stage. More... | |
Detailed Description
The IDeformable property interface.
This interface provides a generic way to deform e.g. a geometry over time.
Animation controllers may call the SetDeformTimeAndFactor() method when time keys are present in a given Resource::IAnimation.
Member Function Documentation
◆ GetNumberOfDeformStages()
|
pure virtual |
Get the number of deform stages present.
- Returns
- The number of stages.
◆ SetDeformTimeAndFactor()
|
pure virtual |
Set the time and blend factor for a given stage.
- Parameters
-
stageIndex The stage index, time The deform time to set. factor The deform factor to set.
- Returns
- true if successful.
◆ GetDeformTime()
Get the deform time set for a given stage.
- Parameters
-
stageIndex The stage index,
- Returns
- The deform time.
◆ GetDeformFactor()
Get the deform factor set for a given stage.
- Parameters
-
stageIndex The stage index,
- Returns
- The deform factor.
The documentation for this interface was generated from the following file:
- murl_graph_i_deformable.h