vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::PoseSlice Struct Reference

One rig's range in the frame's pose arrays, plus what the pose implies about its extent. More...

#include <pose_buffer.h>

Public Attributes

glm::vec3 originMin {0.0f}
 AABB of the posed bone origins, rig model space.
float maxBoneScale = 1.0f
 Largest scale any bone carries in this pose, never below 1.

Detailed Description

One rig's range in the frame's pose arrays, plus what the pose implies about its extent.

first and count address both PoseBuffer::global() and PoseBuffer::palette(), which are parallel. The bounds are raw: skin hangs off a bone by a distance only the mesh knows, so the consumer that knows the mesh inflates them.


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