Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.IBlendable

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.


Table members

Methods


SetBlendFactor(stageIndex, blendFactor)

Set the blend factor for a given stage.

Boolean SetBlendFactor(Integer stageIndex, Number blendFactor)

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

GetBlendFactor(stageIndex)

Get the blend factor set for a given stage.

Number GetBlendFactor(Integer stageIndex)

Parameters
stageIndexThe stage index
Returns
Number The blend factor.