Plasma Engine  2.0
Loading...
Searching...
No Matches
plAnimationClipResourceDescriptor Struct Reference

Classes

struct  JointInfo
 
struct  KeyframeQuat
 
struct  KeyframeVec3
 

Public Member Functions

 plAnimationClipResourceDescriptor (plAnimationClipResourceDescriptor &&rhs)
 
void operator= (plAnimationClipResourceDescriptor &&rhs) noexcept
 
plResult Serialize (plStreamWriter &inout_stream) const
 
plResult Deserialize (plStreamReader &inout_stream)
 
plUInt64 GetHeapMemoryUsage () const
 
plUInt16 GetNumJoints () const
 
plTime GetDuration () const
 
void SetDuration (plTime duration)
 
void SetConstantRootMotion (const plVec3 &vMotion)
 
const ozz::animation::Animation & GetMappedOzzAnimation (const plSkeletonResource &skeleton) const
 
JointInfo CreateJoint (const plHashedString &sJointName, plUInt16 uiNumPositions, plUInt16 uiNumRotations, plUInt16 uiNumScales)
 
const JointInfoGetJointInfo (const plTempHashedString &sJointName) const
 
void AllocateJointTransforms ()
 
plArrayPtr< KeyframeVec3GetPositionKeyframes (const JointInfo &jointInfo)
 
plArrayPtr< KeyframeQuatGetRotationKeyframes (const JointInfo &jointInfo)
 
plArrayPtr< KeyframeVec3GetScaleKeyframes (const JointInfo &jointInfo)
 
plArrayPtr< const KeyframeVec3GetPositionKeyframes (const JointInfo &jointInfo) const
 
plArrayPtr< const KeyframeQuatGetRotationKeyframes (const JointInfo &jointInfo) const
 
plArrayPtr< const KeyframeVec3GetScaleKeyframes (const JointInfo &jointInfo) const
 
plVec3 GetRootMotion (plTime sampleTime) const
 
plVec3 GetRootMotionAtNormalizedPos (float fNormalizedTime) const
 

Public Attributes

plCurve1D m_RootMotionCurves [3]
 
plEventTrack m_EventTrack
 
bool m_bAdditive = false
 

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