struct
AnimationLayer
Animation layer for additive/override blending
- Module
- Animation
- Header
#include "Animation/Components/AnimatorComponent.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
int32_t | clipIndex | Index into AnimatorComponent::clips Default -1. |
float | weight | Blend weight [0-1] Default 1.0f. |
float | speed | Default 1.0f. |
float | currentTime | Default 0.0f. |
bool | loop | Default true. |
bool | playing | Default true. |
AnimLayerBlendMode | blendMode | Default AnimLayerBlendMode::Additive. |
EAdditiveType | additiveType | LocalSpace composes the delta into each bone's local rotation; MeshSpace composes it in component space (see EAdditiveType, AnimGraphNodes.h). Default EAdditiveType::LocalSpace. |
EAdditiveBasePoseMode | basePoseMode | How the additive reference pose is extracted (EAdditiveBasePoseMode): ReferencePose ignores referenceClipIndex (bind pose); AnimationFrame samples it at basePoseTime; AnimationScaled samples it at the layer's normalized phase scaled into the reference clip's length. The AnimationFrame/time-0 default reproduces the historical behavior. Default EAdditiveBasePoseMode::AnimationFrame. |
float | basePoseTime | Default 0.0f. |
std::unordered_set<uint32_t> | boneMask | Empty = all bones, otherwise only these bone indices |
std::unordered_map<uint32_t, float> | perBoneWeight | |
int32_t | referenceClipIndex | Reference pose for additive (usually bind pose / first frame) Default -1. |
Generated from Animation/Components/AnimatorComponent.h via animation.json · Oct 26, 2026Version 1.0.0