Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/AnimCompositeBase.h |
Include |
#include "Animation/AnimCompositeBase.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/AnimCompositeBase.cpp |
void GetRootMotionExtractionStepsForTrackRange
(
TArray< FRootMotionExtractionStep > & RootMotionExtractionSteps,
const float StartTrackPosition,
const float EndTrackPosition
) const
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.