FAnimSegment::GetRootMotionExtractionStepsForTrackRange

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

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 StartPosition,
    const float EndPosition
) const

Remarks

Given a Track delta position [StartTrackPosition, EndTrackPosition] See if this AnimSegment overlaps any of it, and if it does, break it up into RootMotionExtractionSteps. 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 this AnimSegment overlaps any of it, and if it does, 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