|
group2 0.1.0
CSE 125 Group 2
|
One slot in an entity's blend stack. More...
#include <AnimSnapshot.hpp>
Public Attributes | |
| std::uint8_t | clipIdRaw = 0xFFu |
| Raw uint8_t cast of ClipId. | |
| float | timeRatio = 0.0f |
| Normalised playhead position in [0, 1] over the clip's duration. | |
| float | weight = 0.0f |
| Blend weight in [0, 1]. | |
One slot in an entity's blend stack.
| std::uint8_t AnimSlot::clipIdRaw = 0xFFu |
Raw uint8_t cast of ClipId.
0xFF (== ClipId::_Count today) means "slot inactive". Stored as raw to avoid pulling the ozz/animation lib into shared headers.
| float AnimSlot::timeRatio = 0.0f |
Normalised playhead position in [0, 1] over the clip's duration.
Matches ClipSampler::timeRatio.
| float AnimSlot::weight = 0.0f |
Blend weight in [0, 1].
Slots with weight == 0 are "inactive" — the animator skips them on sample/blend.