![]() |
Murl Engine API
Version 2024.1
|
The IDeformable property interface. More...
#include <murl_graph_i_deformable.h>
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.
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... | |
|
pure virtual |
Get the number of deform stages present.
|
pure virtual |
Set the time and blend factor for a given stage.
stageIndex | The stage index, |
time | The deform time to set. |
factor | The deform factor to set. |
Get the deform time set for a given stage.
stageIndex | The stage index, |
Get the deform factor set for a given stage.
stageIndex | The stage index, |