![]() |
ezEngine
Release 25.03
|
Used by components that skin a mesh to inform children whenever a new pose has been computed. More...
#include <Declarations.h>
Public Member Functions | |
EZ_DECLARE_MESSAGE_TYPE (ezMsgAnimationPoseUpdated, ezMessage) | |
void | ComputeFullBoneTransform (ezUInt32 uiJointIndex, ezMat4 &ref_mFullTransform) const |
void | ComputeFullBoneTransform (ezUInt32 uiJointIndex, ezMat4 &ref_mFullTransform, ezQuat &ref_qRotationOnly) const |
![]() | |
virtual const ezRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const ezRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Static Public Member Functions | |
static void | ComputeFullBoneTransform (const ezMat4 &mRootTransform, const ezMat4 &mModelTransform, ezMat4 &ref_mFullTransform, ezQuat &ref_qRotationOnly) |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
Public Attributes | |
const ezTransform * | m_pRootTransform = nullptr |
const ezSkeleton * | m_pSkeleton = nullptr |
ezArrayPtr< const ezMat4 > | m_ModelTransforms |
bool | m_bContinueAnimating = true |
Additional Inherited Members |
Used by components that skin a mesh to inform children whenever a new pose has been computed.
This can be used by child nodes/components to synchronize their state to the new animation pose. The message is sent while the pose is in object space. Both skeleton and pose pointer are always valid.