class
MorphShapes
Contains a set of morph channels used for morph target animation.
Each morph channel contains one or multiple shapes which are blended together depending on frame animation. Each channel is then additively blended together depending on some weight.
Public
Methods
GetChannelCount
u32 GetChannelCount() const
Returns the number of available morph channels.
GetChannel
Returns the morph channel at the specified index.
GetChannels
Returns a list of all morph channels in the morph animation.
GetVertexCount
u32 GetVertexCount() const
Returns the number of vertices per morph shape.
staticCreate
Creates a new 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<MorphShapes> CreateEmpty()
Creates MorphShapes with no data.
You must populate its data manually.
Private
Constructors
MorphShapes
MorphShapes() = default
MorphShapes
Fields
mChannels
Vector<SPtr<MorphChannel>> mChannels
mVertexCount
u32 mVertexCount