class AnimationComponent
Animation component class.
File location: framework/cauldron/framework/inc/core/components/animationcomponent.h
Construction
Return type |
Description |
---|---|
Constructor.
|
Methods
Return type |
Description |
---|---|
void |
SetLocalTransform (const Mat4 & transform)
Sets the component’s local transform (Animated transform for frame).
|
Gets the component’s local transform (Animated transform for frame).
|
|
const AnimationComponentData * |
GetData () const
Gets the component’s animation data.
|
void |
Update (double deltaTime)
Component update. Process rigid body animation for frame.
|
Detailed description
Animation component class. Implements animation functionality on an entity.
Construction
AnimationComponent
AnimationComponent (
Entity * pOwner,
ComponentData * pData,
AnimationComponentMgr * pManager
)
Constructor.
Methods
SetLocalTransform
void SetLocalTransform (const Mat4 & transform)
Sets the component’s local transform (Animated transform for frame).
GetLocalTransform
Mat4 GetLocalTransform ()
Gets the component’s local transform (Animated transform for frame).
GetData
const AnimationComponentData * GetData () const
Gets the component’s animation data.
Update
Component update. Process rigid body animation for frame.