12#ifdef JPH_DEBUG_RENDERER
54 void CalculateJointMatrices();
57 void CalculateJointStates();
60 void CalculateLocalSpaceJointMatrices(
Mat44 *outMatrices)
const;
62#ifdef JPH_DEBUG_RENDERER
78 JointStateVector mJoints;
79 Mat44Vector mJointMatrices;
#define JPH_EXPORT
Definition Core.h:275
unsigned int uint
Definition Core.h:500
#define JPH_NAMESPACE_END
Definition Core.h:425
#define JPH_NAMESPACE_BEGIN
Definition Core.h:419
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition Memory.h:50
Vec3Arg RVec3Arg
Definition Real.h:30
Mat44Arg RMat44Arg
Definition Real.h:32
Vec3 RVec3
Definition Real.h:29
Definition DebugRenderer.h:47
Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.
Definition Mat44.h:13
static JPH_INLINE Mat44 sIdentity()
Identity matrix.
Definition Mat44.inl:35
Definition Reference.h:163
Contains the current state of a joint, a local space transformation relative to its parent joint.
Definition SkeletalAnimation.h:24
Resource that contains the joint hierarchy for a skeleton.
Definition Skeleton.h:18
Instance of a skeleton, contains the pose the current skeleton is in.
Definition SkeletonPose.h:18
Mat44 & GetJointMatrix(int inJoint)
Definition SkeletonPose.h:50
const Mat44Vector & GetJointMatrices() const
Definition SkeletonPose.h:47
void SetSkeleton(const Skeleton *inSkeleton)
Definition SkeletonPose.cpp:14
const Skeleton * GetSkeleton() const
Definition SkeletonPose.h:29
JointStateVector & GetJoints()
Definition SkeletonPose.h:40
const JointStateVector & GetJoints() const
Definition SkeletonPose.h:39
void SetRootOffset(RVec3Arg inOffset)
Extra offset applied to the root (and therefore also to all of its children).
Definition SkeletonPose.h:33
Array< Mat44 > Mat44Vector
Definition SkeletonPose.h:24
JointState & GetJoint(int inJoint)
Definition SkeletonPose.h:42
const Mat44 & GetJointMatrix(int inJoint) const
Definition SkeletonPose.h:49
Array< JointState > JointStateVector
Definition SkeletonPose.h:23
Mat44Vector & GetJointMatrices()
Definition SkeletonPose.h:48
SkeletalAnimation::JointState JointState
Definition SkeletonPose.h:22
RVec3 GetRootOffset() const
Definition SkeletonPose.h:34
uint GetJointCount() const
Definition SkeletonPose.h:38
const JointState & GetJoint(int inJoint) const
Definition SkeletonPose.h:41
void Draw(const DrawSettings &inDrawSettings, DebugRenderer *inRenderer, RMat44Arg inOffset=RMat44::sIdentity()) const
Draw current pose.
Definition SkeletonPose.cpp:61
static JPH_INLINE Vec3 sZero()
Vector with all zeros.
Definition Vec3.inl:103
Draw settings.
Definition SkeletonPose.h:65
bool mDrawJointOrientations
Definition SkeletonPose.h:67
bool mDrawJointNames
Definition SkeletonPose.h:68
bool mDrawJoints
Definition SkeletonPose.h:66