The IBlendable property interface. More...

#include "murl_graph_i_blendable.h"

Inheritance diagram for Murl::Graph::IBlendable:

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...
 

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.

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:
  • murl_graph_i_blendable.h


Copyright © 2011-2024 Spraylight GmbH.