struct

AnimationSystem::FRootMotionPoseSource

What actually produced this frame's pose, for the wrap seam. A single clip is one entry at weight 1; a blend space is the 2 or 3 clips it blended, with the same weights, in the same order.

Module
Game
Header
#include "Animation/AnimationSystem.h"
Namespace
Mowo

The seam correction reads the pose at the clip's START and END. Taking those from ONE representative clip while the pose itself was a blend makes the wrap frame's root delta wrong by the difference between the clips' root travel — small, but it accumulates over every lap, and it is exactly the case a locomotion blend space is in for its whole life.

Properties

TypeNameDescription
static constexpr intkMaxClipsmatches UpdateResult::bs2Clip Default 3.
const AnimationClip* clips[kMaxClips] =
float weights[kMaxClips] =
float times[kMaxClips] =The (phase-matched) time each clip was sampled at, in seconds on that clip's own timeline — what the published pose-clip contributions carry so morph channels sample where the pose did.
intcountDefault 0.

Public functions

ReturnsNameDescription
voidAdd
const AnimationClip*RepresentativeThe clip whose timeline the phase is expressed in — the first, which is how SampleControllerPose picks its representative duration.

Function details

Add

C++
void Add(const AnimationClip* clip, float weight, float timeSeconds = 0.0f)

Representative

C++
const AnimationClip* Representative() const

The clip whose timeline the phase is expressed in — the first, which is how SampleControllerPose picks its representative duration.

Generated from Animation/AnimationSystem.h via game.json · Nov 5, 2026Version 1.0.0