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()

virtual UInt32 Murl::Graph::IDeformable::GetNumberOfDeformStages ( ) const
pure virtual

Get the number of deform stages present.

Returns
The number of stages.

◆ SetDeformTimeAndFactor()

virtual Bool Murl::Graph::IDeformable::SetDeformTimeAndFactor ( UInt32  stageIndex,
Real  time,
Real  factor 
)
pure virtual

Set the time and blend factor for a given stage.

Parameters
stageIndexThe stage index,
timeThe deform time to set.
factorThe deform factor to set.
Returns
true if successful.

◆ GetDeformTime()

virtual Real Murl::Graph::IDeformable::GetDeformTime ( UInt32  stageIndex) const
pure virtual

Get the deform time set for a given stage.

Parameters
stageIndexThe stage index,
Returns
The deform time.

◆ GetDeformFactor()

virtual Real Murl::Graph::IDeformable::GetDeformFactor ( UInt32  stageIndex) const
pure virtual

Get the deform factor set for a given stage.

Parameters
stageIndexThe stage index,
Returns
The deform factor.

The documentation for this interface was generated from the following file:
  • murl_graph_i_deformable.h


Copyright © 2011-2024 Spraylight GmbH.