![]() |
ezEngine Release 26.3
|
Represents a single joint in an editable skeleton. More...
#include <EditableSkeleton.h>

Public Member Functions | |
| const char * | GetName () const |
| void | SetName (const char *szSz) |
| void | ClearJoints () |
| void | CopyPropertiesFrom (const ezEditableSkeletonJoint *pJoint) |
| Copies the properties for geometry, physics, and collision from another joint. | |
Public Member Functions inherited from ezReflectedClass | |
| 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. | |
Public Attributes | |
| ezHashedString | m_sName |
| ezTransform | m_LocalTransform = ezTransform::MakeIdentity() |
| ezEnum< ezSkeletonJointType > | m_JointType |
| float | m_fStiffness = 0.0f |
| ezAngle | m_TwistLimitHalfAngle |
| ezAngle | m_TwistLimitCenterAngle |
| ezAngle | m_SwingLimitY |
| ezAngle | m_SwingLimitZ |
| ezVec3 | m_vGizmoOffsetPositionRO = ezVec3::MakeZero() |
| ezQuat | m_qGizmoOffsetRotationRO = ezQuat::MakeIdentity() |
| ezQuat | m_qLocalJointRotation = ezQuat::MakeIdentity() |
| ezHybridArray< ezEditableSkeletonJoint *, 4 > | m_Children |
| ezHybridArray< ezEditableSkeletonBoneShape, 1 > | m_BoneShapes |
| ezDynamicArray< ezEditableSkeletonBoneCollider > | m_BoneColliders |
| bool | m_bOverrideSurface = false |
| bool | m_bOverrideCollisionLayer = false |
| ezString | m_sSurfaceOverride |
| ezUInt8 | m_uiCollisionLayerOverride |
Additional Inherited Members | |
Static Public Member Functions inherited from ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
Represents a single joint in an editable skeleton.
Used during skeleton editing and import. Contains the joint's transform, collision shapes, physics properties like joint limits and stiffness, and references to child joints. This is the editable representation which gets converted to the runtime ezSkeletonJoint.
| void ezEditableSkeletonJoint::CopyPropertiesFrom | ( | const ezEditableSkeletonJoint * | pJoint | ) |
Copies the properties for geometry, physics, and collision from another joint.
Does NOT copy the name, the transform or the children.