Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FPose Struct Reference

Reusable per-instance evaluation scratch for one skeleton (allocate once, reuse per frame). More...

#include <Animation.hpp>

Public Member Functions

 FPose (Allocator *alloc=GLOBAL_ALLOC)
 
void Resize (uint32_t jointCount)
 

Public Attributes

Vector< float3translations
 
Vector< quat > rotations
 
Vector< float3scales
 
Vector< mat4 > globals
 

Detailed Description

Reusable per-instance evaluation scratch for one skeleton (allocate once, reuse per frame).

Holds the working local TRS (seeded from rest, overwritten by a clip) and the resulting world matrices. globals is the shared output: skinning consumes it via ComputeSkinningMatrices, rigid articulation reads it directly.

Constructor & Destructor Documentation

◆ FPose()

FPose::FPose ( Allocator alloc = GLOBAL_ALLOC)
inlineexplicit

Member Function Documentation

◆ Resize()

void FPose::Resize ( uint32_t  jointCount)

Member Data Documentation

◆ globals

Vector<mat4> FPose::globals

◆ rotations

Vector<quat> FPose::rotations

◆ scales

Vector<float3> FPose::scales

◆ translations

Vector<float3> FPose::translations

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