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

A joint that maps 1-on-1 to a joint in the other skeleton. More...

#include <SkeletonMapper.h>

Public Member Functions

 Mapping ()=default
 
 Mapping (int inJointIdx1, int inJointIdx2, Mat44Arg inJoint1To2)
 

Public Attributes

int mJointIdx1
 Index of joint from skeleton 1. More...
 
int mJointIdx2
 Corresponding index of joint from skeleton 2. More...
 
Mat44 mJoint1To2
 Transforms this joint from skeleton 1 to 2. More...
 
Mat44 mJoint2To1
 Inverse of the transform above. More...
 

Detailed Description

A joint that maps 1-on-1 to a joint in the other skeleton.

Constructor & Destructor Documentation

◆ Mapping() [1/2]

SkeletonMapper::Mapping::Mapping ( )
default

◆ Mapping() [2/2]

SkeletonMapper::Mapping::Mapping ( int  inJointIdx1,
int  inJointIdx2,
Mat44Arg  inJoint1To2 
)
inline

Member Data Documentation

◆ mJoint1To2

Mat44 SkeletonMapper::Mapping::mJoint1To2

Transforms this joint from skeleton 1 to 2.

◆ mJoint2To1

Mat44 SkeletonMapper::Mapping::mJoint2To1

Inverse of the transform above.

◆ mJointIdx1

int SkeletonMapper::Mapping::mJointIdx1

Index of joint from skeleton 1.

◆ mJointIdx2

int SkeletonMapper::Mapping::mJointIdx2

Corresponding index of joint from skeleton 2.


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