Murl Engine API  Version 2018.3
Murl::Graph::IBlendable Interface Referenceabstract

The IBlendable property interface. More...

#include <murl_graph_i_blendable.h>

Detailed Description

The IBlendable property interface.

This interface provides a generic way to specify individual blend factors.

Animation controllers may call the SetBlendFactor() method when blend factor keys are present in a given Resource::IAnimation.

Inheritance diagram for Murl::Graph::IBlendable:
Murl::Graph::IResourceMeshGeometry Murl::Graph::ITimeline Murl::Graph::ResourceBspGeometry Murl::Graph::ResourceMeshGeometry Murl::Graph::ResourceShadowGeometry Murl::Graph::MultiTimeline Murl::Graph::Timeline

Public Member Functions

virtual Bool SetBlendFactor (UInt32 stageIndex, Real blendFactor)=0
 Set the blend factor for a given stage. More...
 
virtual Real GetBlendFactor (UInt32 stageIndex) const =0
 Get the blend factor set for a given stage. More...
 

Member Function Documentation

◆ SetBlendFactor()

virtual Bool Murl::Graph::IBlendable::SetBlendFactor ( UInt32  stageIndex,
Real  blendFactor 
)
pure virtual

Set the blend factor for a given stage.

Parameters
stageIndexThe stage index
blendFactorThe blend factor to set.
Returns
true if successful.

◆ GetBlendFactor()

virtual Real Murl::Graph::IBlendable::GetBlendFactor ( UInt32  stageIndex) const
pure virtual

Get the blend factor set for a given stage.

Parameters
stageIndexThe stage index
Returns
The blend factor.

The documentation for this interface was generated from the following file: