Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
FJoint Struct Reference

One node of a transform hierarchy (a skeleton joint or an articulation node). More...

#include <Animation.hpp>

Public Attributes

int32_t parent {-1}
 
float3 restTranslation {0, 0, 0}
 
quat restRotation {0, 0, 0, 1}
 
float3 restScale {1, 1, 1}
 
mat4 inverseBind {1.0f}
 

Detailed Description

One node of a transform hierarchy (a skeleton joint or an articulation node).

Note
Joints are stored topologically: a joint's parent index is always < its own index, so a single forward pass computes every world matrix (ComputeGlobals).

Member Data Documentation

◆ inverseBind

mat4 FJoint::inverseBind {1.0f}

◆ parent

int32_t FJoint::parent {-1}

◆ restRotation

quat FJoint::restRotation {0, 0, 0, 1}

◆ restScale

float3 FJoint::restScale {1, 1, 1}

◆ restTranslation

float3 FJoint::restTranslation {0, 0, 0}

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