struct
LocalSkeletonPose
Contains local translation, rotation and scale values for each bone in a skeleton, after being evaluated at a specific time of an animation.
All values are stored in the same order as the bones in the skeleton they were created by.
Public
Constructors
LocalSkeletonPose
LocalSkeletonPose() = default
LocalSkeletonPose
LocalSkeletonPose(u32 numBones, bool individualOverride = false)
LocalSkeletonPose
LocalSkeletonPose(u32 numPos, u32 numRot, u32 numScale)
LocalSkeletonPose
LocalSkeletonPose(LocalSkeletonPose &&other)
Methods
~LocalSkeletonPose
~LocalSkeletonPose()
Fields
Positions
Vector3 * Positions
Local bone positions at specific animation time.
Rotations
Quaternion * Rotations
Local bone rotations at specific animation time.
Scales
Vector3 * Scales
Local bone scales at specific animation time.
HasOverride
bool * HasOverride
True if the bone transform was overriden externally (local pose was ignored).
NumBones
u32 NumBones
Number of bones in the pose.
Operators
operator=
LocalSkeletonPose &operator=(LocalSkeletonPose &&other)