class AnimationComponentMgr
Component manager class for AnimationComponent
s.
File location: framework/cauldron/framework/inc/core/components/animationcomponent.h
Construction
Return type |
Description |
---|---|
Constructor with default behavior.
|
Methods
Return type |
Description |
---|---|
Component creator.
|
|
Allocates a new “AnimationComponent“ for the given entity.
|
|
const wchar_t* |
ComponentType () const
Gets the component type string ID.
|
void |
Initialize ()
Initializes the component manager.
|
void |
Shutdown ()
Shuts down the component manager.
|
void |
UpdateComponents (double deltaTime)
Updates all managed components.
|
const std::vector<MatrixPair >& |
GetSkinningMatrices (uint32_t modelId, int32_t skinId) const
Returns the skinning matrices for the input modelId.
|
static AnimationComponentMgr* |
Get ()
Component manager instance accessor.
|
Detailed description
Component manager class for AnimationComponent
s.
Fields
Type |
Description |
---|---|
static const wchar_t* |
s_ComponentName
Component name.
|
Construction
AnimationComponentMgr
Constructor with default behavior.
Methods
SpawnComponent
virtual Component * SpawnComponent (Entity * pOwner, ComponentData * pData)
Component creator.
SpawnAnimationComponent
AnimationComponent * SpawnAnimationComponent (
Entity * pOwner,
ComponentData * pData
)
Allocates a new AnimationComponent
for the given entity.
ComponentType
Gets the component type string ID.
Initialize
Initializes the component manager.
Shutdown
Shuts down the component manager.
UpdateComponents
Updates all managed components.
GetSkinningMatrices
const std::vector<MatrixPair >& GetSkinningMatrices (
uint32_t modelId,
int32_t skinId
) const
Returns the skinning matrices for the input modelId.
Get
Component manager instance accessor.