struct
AnimationController::UpdateResult
Update the controller — evaluates transitions, advances the state clock. Transitions no longer cross-fade two clips here; they switch the current state instantly and flag transitionStarted, and the AnimationSystem inertializes the pose over transitionBlendTime (pop-free, interruptible).
- Module
- Animation
- Header
#include "Animation/AnimationController.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
int32_t | currentClipIndex | Default -1. |
float | currentTime | Default 0.0f. |
float | normalizedTime | Default 0.0f. |
bool | isBlending | an inertialization blend is in progress Default false. |
float | speed | Default 1.0f. |
bool | loop | Default true. |
bool | transitionStarted | A transition fired THIS frame: the AnimationSystem should capture the outgoing pose and begin the inertializer over transitionBlendTime. Default false. |
float | transitionBlendTime | Default 0.0f. |
std::string | transitionBlendProfile | The blend profile the firing transition named, if any — the AnimationSystem resolves it against the entity's own skeleton and hands the per-bone windows to the inertializer. |
bool | blendSpaceActive | 1D blend-space output for the current state (locomotion). When active, sample bsClipA + bsClipB phase-matched and blend by bsWeight. Default false. |
int32_t | bsClipA | Default -1. |
int32_t | bsClipB | Default -1. |
float | bsWeight | 0 = fully A, 1 = fully B Default 0.0f. |
bool | blendSpace2DActive | 2D blend-space output (directional locomotion): up to 3 phase-matched clips with normalized weights (sum 1). Default false. |
int32_t | bs2Count | Default 0. |
int32_t bs2Clip[3] = | ||
float bs2Weight[3] = | ||
bool | motionMatchingActive | Motion-matching state: the AnimationSystem hands the pose to the entity's MotionMatchingComponent for this frame. Default false. |
bool | syncLeader | Sync-group publication: set when the current state is a LEADER (explicit role) of a sync group — the AnimationSystem folds it into the world's shared sync map after the parallel evaluation. Default false. |
std::string | syncLeaderGroup | |
float | syncLeaderPhase | Default 0.0f. |
AnimMarkerSegment | syncLeaderMarker | The leader's position in ITS marker ring, when its clip carries markers. Followers whose clips carry the same named pair land on the same footfall instead of the same percentage. |
Generated from Animation/AnimationController.h via animation.json · Oct 26, 2026Version 1.0.0