class
MorphChannel
A collection of morph shapes that are sequentially blended together.
Each shape has a weight in range [0, 1] which determines at what point is that shape blended. As the channel percent moves from 0 to 1, different shapes will be blended with those before or after them, depending on their weight.
Public
Methods
GetName
const String &GetName() const
Returns the unique name of the channel.
GetShapeCount
u32 GetShapeCount() const
Returns the number of available morph shapes.
GetShapes
Returns all morph shapes within this channel, in order from lowest to highest.
staticCreate
Creates a new channel from a set of morph shapes.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
GetRtti
RTTIType *GetRtti() const
Returns an interface you can use to access class' Run Time Type Information.
staticCreateEmpty
static SPtr<MorphChannel> CreateEmpty()
Creates MorphShapes with no data.
You must populate its data manually.
Private
Constructors
MorphChannel
MorphChannel() = default
MorphChannel
Fields
mName
String mName
mShapes
Vector<SPtr<MorphShape>> mShapes