60 float GetDuration()
const;
63 void ScaleJoints(
float inScale);
73 AnimatedJointVector mAnimatedJoints;
74 bool mIsLooping =
true;
#define JPH_EXPORT
Definition: Core.h:236
#define JPH_NAMESPACE_END
Definition: Core.h:378
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:372
std::basic_string< char, std::char_traits< char >, STLAllocator< char > > String
Definition: STLAllocator.h:107
#define JPH_DECLARE_SERIALIZABLE_NON_VIRTUAL(linkage, class_name)
Definition: SerializableObject.h:80
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 sRotationTranslation(QuatArg inR, Vec3Arg inT)
Get matrix that rotates and translates.
Definition: Mat44.inl:149
static JPH_INLINE Quat sIdentity()
Definition: Quat.h:103
Definition: Reference.h:35
Contains the animation for a single joint.
Definition: SkeletalAnimation.h:49
KeyframeVector mKeyframes
List of keyframes over time.
Definition: SkeletalAnimation.h:54
String mJointName
Name of the joint.
Definition: SkeletalAnimation.h:53
Contains the current state of a joint, a local space transformation relative to its parent joint.
Definition: SkeletalAnimation.h:22
Mat44 ToMatrix() const
Convert to matrix representation.
Definition: SkeletalAnimation.h:30
Contains the state of a single joint at a particular time.
Definition: SkeletalAnimation.h:38
Resource for a skinned animation.
Definition: SkeletalAnimation.h:16
AnimatedJointVector & GetAnimatedJoints()
Definition: SkeletalAnimation.h:70
const AnimatedJointVector & GetAnimatedJoints() const
Get joint samples.
Definition: SkeletalAnimation.h:69
Instance of a skeleton, contains the pose the current skeleton is in.
Definition: SkeletonPose.h:18
static JPH_INLINE Vec3 sZero()
Vector with all zeros.
Definition: Vec3.inl:107