ezEngine Release 26.3
Loading...
Searching...
No Matches
ezEditableSkeleton Class Reference

Editable representation of a skeleton used in the editor and import pipeline. More...

#include <EditableSkeleton.h>

Inheritance diagram for ezEditableSkeleton:

Public Member Functions

void ClearJoints ()
 
void FillResourceDescriptor (ezSkeletonResourceDescriptor &ref_desc) const
 Fills the given resource descriptor with data from this editable skeleton.
 
void GenerateRawOzzSkeleton (ozz::animation::offline::RawSkeleton &out_skeleton) const
 Generates a raw ozz skeleton, which can then be compiled to the final ozz format.
 
void GenerateOzzSkeleton (ozz::animation::Skeleton &out_skeleton) const
 Generates a fully compiled ozz skeleton directly.
 
void CreateJointsRecursive (ezSkeletonBuilder &ref_sb, ezSkeletonResourceDescriptor &ref_desc, const ezEditableSkeletonJoint *pParentJoint, const ezEditableSkeletonJoint *pThisJoint, ezUInt16 uiThisJointIdx, const ezQuat &qParentAccuRot, const ezMat4 &mRootTransform) const
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () 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.
 

Public Attributes

ezString m_sSourceFile
 
ezString m_sPreviewMesh
 
ezString m_sSurfaceFile
 
ezUInt8 m_uiCollisionLayer = 0
 
float m_fUniformScaling = 1.0f
 
float m_fMaxImpulse = 100.0f
 
ezEnum< ezMeshImportTransformm_ImportTransform
 
ezEnum< ezBasisAxism_RightDir = ezBasisAxis::NegativeX
 
ezEnum< ezBasisAxism_UpDir = ezBasisAxis::PositiveY
 
bool m_bFlipForwardDir = false
 
ezEnum< ezBasisAxism_BoneDirection
 
ezHybridArray< ezEditableSkeletonJoint *, 4 > m_Children
 
ezString m_sLeftFootJoint
 
ezString m_sRightFootJoint
 

Additional Inherited Members

- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Detailed Description

Editable representation of a skeleton used in the editor and import pipeline.

Contains the full hierarchy of joints with all their properties. Used for skeleton editing, mesh import, and for generating the runtime skeleton resource. Can convert itself into ezSkeletonResourceDescriptor and ozz::animation::Skeleton formats.


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