ezEngine  Release 25.03
ezAnimationClipResourceDescriptor Struct Reference

Classes

struct  JointInfo
 
struct  KeyframeQuat
 
struct  KeyframeVec3
 

Public Member Functions

 ezAnimationClipResourceDescriptor (ezAnimationClipResourceDescriptor &&rhs)
 
void operator= (ezAnimationClipResourceDescriptor &&rhs) noexcept
 
ezResult Serialize (ezStreamWriter &inout_stream) const
 
ezResult Deserialize (ezStreamReader &inout_stream)
 
ezUInt64 GetHeapMemoryUsage () const
 
ezUInt16 GetNumJoints () const
 
ezTime GetDuration () const
 
void SetDuration (ezTime duration)
 
const ozz::animation::Animation & GetMappedOzzAnimation (const ezSkeletonResource &skeleton) const
 
JointInfo CreateJoint (const ezHashedString &sJointName, ezUInt16 uiNumPositions, ezUInt16 uiNumRotations, ezUInt16 uiNumScales)
 
const JointInfoGetJointInfo (const ezTempHashedString &sJointName) const
 
void AllocateJointTransforms ()
 
ezArrayPtr< KeyframeVec3GetPositionKeyframes (const JointInfo &jointInfo)
 
ezArrayPtr< KeyframeQuatGetRotationKeyframes (const JointInfo &jointInfo)
 
ezArrayPtr< KeyframeVec3GetScaleKeyframes (const JointInfo &jointInfo)
 
ezArrayPtr< const KeyframeVec3GetPositionKeyframes (const JointInfo &jointInfo) const
 
ezArrayPtr< const KeyframeQuatGetRotationKeyframes (const JointInfo &jointInfo) const
 
ezArrayPtr< const KeyframeVec3GetScaleKeyframes (const JointInfo &jointInfo) const
 

Public Attributes

ezVec3 m_vConstantRootMotion = ezVec3::MakeZero()
 
ezEventTrack m_EventTrack
 
bool m_bAdditive = false
 

The documentation for this struct was generated from the following files: