Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimCompositeBase.h |
Include | #include "Animation/AnimCompositeBase.h" |
Syntax
struct FAnimSegment
Remarks
This is anim segment that defines what animation and how
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | AnimEndTime | Time to end playing the AnimSequence at. |
![]() |
float | AnimPlayRate | Playback speed of this animation. If you'd like to reverse, set -1 |
![]() |
float | AnimStartTime | Time to start playing AnimSequence at. |
![]() |
float | CachedPlayLength | |
![]() |
int32 | LoopingCount | |
![]() |
float | StartPos | Start Pos within this AnimCompositeBase |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FAnimSegment () |
||
![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGS | FAnimSegment
(
const FAnimSegment& |
|
![]() |
FAnimSegment
(
FAnimSegment&& |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
float | ConvertTrackPosToAnimPos
(
const float& TrackPosition |
Converts 'Track Position' to position on AnimSequence. |
![]() ![]() |
UAnimSequenceBase * | GetAnimationData
(
float PositionInTrack, |
Get Animation Data. |
![]() ![]() |
void | GetAnimNotifiesFromTrackPositions
(
const float& PreviousTrackPosition, |
|
![]() ![]() |
const TObjectPtr< UAnimSequenceBase > & | ||
![]() ![]() |
float | GetEndPos () |
End Position within this AnimCompositeBase |
![]() ![]() |
float | GetLength () |
|
![]() ![]() |
void | GetRootMotionExtractionStepsForTrackRange
(
TArray< FRootMotionExtractionStep >& RootMotionExtractionSteps, |
Given a Track delta position [StartTrackPosition, EndTrackPosition] See if this AnimSegment overlaps any of it, and if it does, break it up into RootMotionExtractionSteps. |
![]() ![]() |
float | Ensures PlayRate is non Zero | |
![]() ![]() |
bool | IsIncluded
(
float InStartPos, |
Return true if it's included within the input range |
![]() ![]() |
bool | IsInRange
(
float CurPos |
|
![]() ![]() |
PRAGMA_DISABLE_DEPRECATION_WARNINGSbool | Return true if anim notify is available | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsValid () |
Return true if valid, false otherwise, only invalid if we contains recursive reference |
![]() |
void | SetAnimReference
(
UAnimSequenceBase* InAnimReference, |
|
![]() |
void |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FAnimSegment & | operator=
(
const FAnimSegment& |
|
![]() |
FAnimSegment & | operator=
(
FAnimSegment&& |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< UAnimSequenceBase > | AnimReference | Public access to AnimReference has been deprecated, use Set/Get-AnimReference instead |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | GetAnimNotifiesFromTrackPositions
(
const float& PreviousTrackPosition, |
Use the GetAnimNotifiesFromTrackPositions that takes FAnimNotifyContext instead |
![]() ![]() |
void | GetAnimNotifiesFromTrackPositions
(
const float& PreviousTrackPosition, |
Use the GetAnimNotifiesFromTrackPositions that takes FAnimNotifyContext instead |