![]() |
ezEngine Release 26.3
|
Describes the collision geometry shape for a bone. More...
#include <EditableSkeleton.h>

Public Member Functions | |
| EZ_ADD_DYNAMIC_REFLECTION (ezEditableSkeletonBoneShape, ezReflectedClass) | |
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 | |
| ezEnum< ezSkeletonJointGeometryType > | m_Geometry |
| ezVec3 | m_vOffset = ezVec3::MakeZero() |
| ezQuat | m_qRotation = ezQuat::MakeIdentity() |
| float | m_fLength = 0 |
| Box, Capsule; 0 means parent joint to this joint (auto mode) | |
| float | m_fWidth = 0 |
| Box. | |
| float | m_fThickness = 0 |
| Sphere radius, Capsule radius. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
Describes the collision geometry shape for a bone.
Used during skeleton editing to define physics collision shapes for bones. The shape can be a box, capsule, or sphere. If m_fLength is 0, it automatically uses the distance from the parent joint to this joint.