Toast Engine
Loading...
Searching...
No Matches
assets::NodePose Struct Reference

One node's sampled transform at a point in a clip. More...

#include <animation.hpp>

Public Attributes

glm::vec3 translation {0.0f}
glm::quat rotation {1.0f, 0.0f, 0.0f, 0.0f}
glm::vec3 scale {1.0f}
bool has_translation = false
bool has_rotation = false
bool has_scale = false

Detailed Description

One node's sampled transform at a point in a clip.

Flagged per component: a clip may drive only some, and an unanimated one must keep whatever the node already has rather than snap to identity


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