Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
SkeletalAnimation::JointState Class Reference

Contains the current state of a joint, a local space transformation relative to its parent joint. More...

#include <SkeletalAnimation.h>

Inheritance diagram for SkeletalAnimation::JointState:
SkeletalAnimation::Keyframe

Public Member Functions

void FromMatrix (Mat44Arg inMatrix)
 Convert from a local space matrix.
 
Mat44 ToMatrix () const
 Convert to matrix representation.
 

Public Attributes

Quat mRotation = Quat::sIdentity()
 Local space rotation of the joint.
 
Vec3 mTranslation = Vec3::sZero()
 Local space translation of the joint.
 

Detailed Description

Contains the current state of a joint, a local space transformation relative to its parent joint.

Member Function Documentation

◆ FromMatrix()

void SkeletalAnimation::JointState::FromMatrix ( Mat44Arg  inMatrix)

Convert from a local space matrix.

◆ ToMatrix()

Mat44 SkeletalAnimation::JointState::ToMatrix ( ) const
inline

Convert to matrix representation.

Member Data Documentation

◆ mRotation

Quat SkeletalAnimation::JointState::mRotation = Quat::sIdentity()

Local space rotation of the joint.

◆ mTranslation

Vec3 SkeletalAnimation::JointState::mTranslation = Vec3::sZero()

Local space translation of the joint.


The documentation for this class was generated from the following files: