Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimCompositeBase.h |
Include | #include "Animation/AnimCompositeBase.h" |
Syntax
USTRUCT ()
struct FAnimTrack
Remarks
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
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
TArray< FAnimSegment > | AnimSegments |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FAnimTrack () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Moves anim segments so that there are no gaps between one finishing and the next starting, preserving the order of AnimSegments | |
![]() |
bool | ContainRecursive
(
const TArray< UAnimCompositeBase* >& CurrentAccumulatedList |
This is recursive function that look thorough internal assets and clear the reference if recursive is found. |
![]() |
void | EnableRootMotionSettingFromMontage
(
bool bInEnableRootMotion, |
Enable Root motion setting from montage |
![]() ![]() |
UAnimSequence * | Get Addiitve Base Pose if additive | |
![]() ![]() |
bool | GetAllAnimationSequencesReferred
(
TArray< UAnimationAsset* >& AnimationAssets, |
|
![]() ![]() |
void | GetAnimationPose
(
FCompactPose& OutPose, |
Get animation pose function |
![]() ![]() |
void | GetAnimationPose
(
FAnimationPoseData& OutAnimationPoseData, |
|
![]() ![]() |
void | GetAnimNotifiesFromTrackPositions
(
const float& PreviousTrackPosition, |
Retrieves AnimNotifies between two Track time positions. |
![]() ![]() |
void | GetAnimNotifiesFromTrackPositions
(
const float& PreviousTrackPosition, |
Retrieves AnimNotifies between two Track time positions. |
![]() ![]() |
void | GetAnimNotifiesFromTrackPositions
(
const float& PreviousTrackPosition, |
Retrieves AnimNotifies between two Track time positions. |
![]() ![]() |
float | GetLength () |
|
![]() ![]() |
void | GetRootMotionExtractionStepsForTrackRange
(
TArray< FRootMotionExtractionStep >& RootMotionExtractionSteps, |
Given a Track delta position [StartTrackPosition, EndTrackPosition] See if any AnimSegment overlaps any of it, and if it does, break it up into RootMotionExtractionPieces. |
![]() ![]() |
const FAnimSegment * | GetSegmentAtTime
(
float InTime |
|
![]() |
FAnimSegment * | GetSegmentAtTime
(
float InTime |
Get the segment at the given absolute montage time |
![]() ![]() |
int32 | GetSegmentIndexAtTime
(
float InTime |
Gets the index of the segment at the given absolute montage time. |
![]() ![]() |
int32 | ||
![]() ![]() |
int32 | ||
![]() ![]() |
bool | Returns whether any of the animation sequences this track uses has root motion | |
![]() |
void | InvalidateRecursiveAsset
(
UAnimCompositeBase* CheckAsset |
This is to prevent anybody adding recursive asset to anim composite as a result of anim composite being a part of anim sequence base |
![]() ![]() |
bool | IsAdditive () |
|
![]() ![]() |
bool | Return true if anim notify is available | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsValidToAdd
(
const UAnimSequenceBase* SequenceBase, |
Return true if valid to add |
![]() |
void | ReplaceReferredAnimations
(
const TMap< UAnimationAsset*, UAnimationAsset* >& ReplacementMap |
|
![]() |
void | Sorts AnimSegments based on the start time of each segment | |
![]() |
void | Ensure segment times are correctly formed (no gaps and no extra time at the end of the anim reference) |