![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AnimCompositeBase.h>
Public Attributes | |
| TArray< FAnimSegment > | AnimSegments |
This is list of anim segments for this track For now this is only one TArray, but in the future we should define more transition/blending behaviors
|
inline |
| bool FAnimTrack::ContainRecursive | ( | const TArray< UAnimCompositeBase * > & | CurrentAccumulatedList | ) |
| void FAnimTrack::EnableRootMotionSettingFromMontage | ( | bool | bInEnableRootMotion, |
| const ERootMotionRootLock::Type | InRootMotionRootLock | ||
| ) |
Enable Root motion setting from montage
| void FAnimTrack::GetAnimationPose | ( | FAnimationPoseData & | OutAnimationPoseData, |
| const FAnimExtractContext & | ExtractionContext | ||
| ) | const |
Get animation pose function
| void FAnimTrack::GetAnimNotifiesFromTrackPositions | ( | const float & | PreviousTrackPosition, |
| const float & | CurrentTrackPosition, | ||
| FAnimNotifyContext & | NotifyContext | ||
| ) | const |
Retrieves AnimNotifies between two Track time positions. ]PreviousTrackPosition, CurrentTrackPosition] Between PreviousTrackPosition (exclusive) and CurrentTrackPosition (inclusive). Supports playing backwards (CurrentTrackPosition<PreviousTrackPosition). Only supports contiguous range, does NOT support looping and wrapping over.
| float FAnimTrack::GetLength | ( | ) | const |
| void FAnimTrack::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.
| FAnimSegment * FAnimTrack::GetSegmentAtTime | ( | float | InTime | ) |
Get the segment at the given absolute montage time
| const FAnimSegment * FAnimTrack::GetSegmentAtTime | ( | float | InTime | ) | const |
Gets the index of the segment at the given absolute montage time.
| int32 FAnimTrack::GetTotalBytesUsed | ( | ) | const |
| int32 FAnimTrack::GetTrackAdditiveType | ( | ) | const |
| bool FAnimTrack::HasRootMotion | ( | ) | const |
Returns whether any of the animation sequences this track uses has root motion
| void FAnimTrack::InvalidateRecursiveAsset | ( | class UAnimCompositeBase * | CheckAsset | ) |
| bool FAnimTrack::IsAdditive | ( | ) | const |
| bool FAnimTrack::IsNotifyAvailable | ( | ) | const |
return true if anim notify is available
| bool FAnimTrack::IsRotationOffsetAdditive | ( | ) | const |
| bool FAnimTrack::IsValidToAdd | ( | const UAnimSequenceBase * | SequenceBase, |
| FText * | OutReason = nullptr |
||
| ) | const |
return true if valid to add
| void FAnimTrack::ValidateSegmentTimes | ( | ) |
Ensure segment times are correctly formed (no gaps and no extra time at the end of the anim reference)
| TArray<FAnimSegment> FAnimTrack::AnimSegments |