struct
AnimationTransition
Transition between animation states
- Module
- Animation
- Header
#include "Animation/AnimationController.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | targetState | |
float | duration | Inertialization blend duration in seconds Default 0.25f. |
bool | hasExitTime | Wait until source clip finishes? Default false. |
float | exitTime | Normalized exit time (0-1, fraction of source clip) Default 1.0f. |
std::string | blendProfile | Blend profile (one of the controller's, by name) applied to THIS transition's inertialization: each bone gets duration scaled by its own factor, so a hit react can snap the torso while the legs keep walking. Empty = one window for the whole skeleton, which is what every existing transition means. |
int | priority | Interruption priority. A transition already blending can only be interrupted by a transition whose priority is STRICTLY greater — this stops a lower-priority (or equal, re-firing) transition from thrashing a fresh blend while still letting an urgent one (hit react, death) cut in. Default 0. |
std::vector<TransitionCondition> | conditions | Serializable conditions (all must be true for transition to fire) |
std::function<bool()> | condition | Legacy: custom condition callback (used alongside or instead of conditions) |
Generated from Animation/AnimationController.h via animation.json · Oct 26, 2026Version 1.0.0