FAnimTrack::GetRootMotionExtractionStepsForTrackRange

Given a Track delta position [StartTrackPosition, EndTrackPosition] See if any AnimSegment overlaps any of it, and if it does, break it up into RootMotionExtractionPieces.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimCompositeBase.h

Include

#include "Animation/AnimCompositeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimCompositeBase.cpp

Syntax

void GetRootMotionExtractionStepsForTrackRange
(
    TArray< FRootMotionExtractionStep > & RootMotionExtractionSteps,
    const float StartTrackPosition,
    const float EndTrackPosition
) const

Remarks

Given a Track delta position [StartTrackPosition, EndTrackPosition] See if any AnimSegment overlaps any of it, and if it does, break it up into RootMotionExtractionPieces. Supports animation playing forward and backward. Track segment should be a contiguous range, not wrapping over due to looping.

Given a Track delta position [StartTrackPosition, EndTrackPosition] See if any AnimSegment overlaps any of it, and if any do, break them up into a sequence of FRootMotionExtractionStep. Supports animation playing forward and backward. Track range should be a contiguous range, not wrapping over due to looping.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss