Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAnimationAsset
- UAnimSequenceBase
- UAnimCompositeBase
- UAnimComposite
- UAnimMontage
- UAnimSequence
- UAnimStreamable
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimSequenceBase.h |
Include | #include "Animation/AnimSequenceBase.h" |
Syntax
UCLASS (Abstract, BlueprintType, MinimalAPI)
class UAnimSequenceBase : public UAnimationAsset
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TArray< FAnimNotifyTrack > | AnimNotifyTracks | If you change Notifies array, this will need to be rebuilt |
![]() ![]() ![]() |
bool | bLoop | The default looping behavior of this animation. Asset players can override this |
![]() |
bool | bPopulatingDataModel | Flag set whenever the data-model is initially populated (during upgrade path) |
![]() ![]() ![]() ![]() ![]() ![]() |
TScriptInterface< IAnimationDataController > | Controller | UAnimDataController instance set to operate on DataModel |
![]() ![]() ![]() ![]() ![]() |
TObjectPtr< UAnimDataModel > | DataModel | |
![]() ![]() ![]() ![]() ![]() |
TScriptInterface< IAnimationDataModel > | DataModelInterface | IAnimationDataModel instance containing (source) animation data |
![]() ![]() |
TArray< struct FAnimNotifyEvent > | Notifies | Animation notifies, sorted by time (earliest notification first). |
![]() |
UE::Anim::FAnimDataModelNotifyCollector | NotifyCollector | Helper object that keeps track of any controller brackets, and all unique notify types that are broadcasted during it |
![]() ![]() ![]() |
float | RateScale | Number for tweaking playback rate of this animation globally. |
![]() ![]() |
FRawCurveTracks | RawCurveData | Raw uncompressed float curve data |
![]() ![]() ![]() ![]() ![]() |
float | SequenceLength | Length (in seconds) of this AnimSequence if played back with a speed of 1.0. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UAnimSequenceBase
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | AdvanceMarkerPhaseAsFollower
(
const FMarkerTickContext& Context, |
|
![]() ![]() ![]() |
void | AdvanceMarkerPhaseAsFollower
(
const FMarkerTickContext& Context, |
|
![]() ![]() ![]() |
void | AdvanceMarkerPhaseAsLeader
(
bool bLooping, |
|
![]() ![]() ![]() |
void | AdvanceMarkerPhaseAsLeader
(
bool bLooping, |
|
![]() |
void | Binds to DataModel its modification delegate | |
![]() ![]() ![]() |
EAnimEventTriggerOffsets::Type | CalculateOffsetForNotify
(
float NotifyDisplayTime |
Calculates what (if any) offset should be applied to the trigger time of a notify given its display time |
![]() ![]() ![]() |
bool | ||
![]() |
void | Fix up any notifies that are positioned beyond the end of the sequence | |
![]() |
void | CopyDataModel
(
const TScriptInterface< IAnimationDataModel >& ModelToDuplicate |
Replaces the current DataModel, if any, with the provided one |
![]() ![]() |
void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
|
![]() ![]() |
void | EnableRootMotionSettingFromMontage
(
bool bInEnableRootMotion, |
To support anim sequence base to montage |
![]() ![]() ![]() |
void | EvaluateCurveData
(
FBlendedCurve& OutCurve, |
Evaluate curve data to Instance at the time of CurrentTime |
![]() ![]() ![]() |
float | EvaluateCurveData
(
SmartName::UID_Type CurveUID, |
|
![]() ![]() ![]() |
float | EvaluateCurveData
(
FName CurveName, |
|
![]() ![]() ![]() |
FTransform | ExtractRootMotion
(
float StartTime, |
Extract Root Motion transform from the animation. |
![]() ![]() ![]() |
FTransform | ExtractRootMotionFromRange
(
float StartTrackPosition, |
Extract Root Motion transform from a contiguous position range (no looping) |
![]() ![]() ![]() |
FTransform | ExtractRootTrackTransform
(
float Time, |
Extract the transform from the root track for the given animation position. |
![]() |
uint8 * | FindArrayProperty
(
const TCHAR* PropName, |
Get a pointer to the data for a given array property item. |
![]() |
uint8 * | FindNotifyPropertyData
(
int32 NotifyIndex, |
Get a pointer to the data for a given Anim Notify. |
![]() ![]() ![]() |
EAdditiveAnimationType | Default implementation, no additive | |
![]() ![]() ![]() |
UAnimSequence * | Ideally this would be animsequcnebase, but we might have some issue with that. For now, just allow AnimSequence | |
![]() ![]() ![]() |
void | GetAnimationPose
(
FCompactPose& OutPose, |
Get Bone Transform of the Time given, relative to Parent for all RequiredBones This returns different transform based on additive or not. |
![]() ![]() ![]() |
void | GetAnimationPose
(
FAnimationPoseData& OutPoseData, |
|
![]() ![]() |
void | GetAnimNotifies
(
const float& StartTime, |
Retrieves AnimNotifies given a StartTime and a DeltaTime. |
![]() ![]() |
void | GetAnimNotifies
(
const float& StartTime, |
Retrieves AnimNotifies given a StartTime and a DeltaTime. |
![]() ![]() |
void | GetAnimNotifies
(
const float& StartTime, |
|
![]() ![]() ![]() |
void | GetAnimNotifiesFromDeltaPositions
(
const float& PreviousPosition, |
Retrieves AnimNotifies between two time positions. |
![]() ![]() |
void | GetAnimNotifiesFromDeltaPositions
(
const float& PreviousPosition, |
Retrieves AnimNotifies between two time positions. |
![]() ![]() ![]() |
void | GetAnimNotifiesFromDeltaPositions
(
const float& PreviousPosition, |
|
![]() |
IAnimationDataController & | Returns the transient UAnimDataController set to operate on DataModel | |
![]() ![]() ![]() |
const FRawCurveTracks & | GetCurveData () |
|
![]() ![]() |
IAnimationDataModel * | GetDataModel () |
Returns the IAnimationDataModel object embedded in this UAnimSequenceBase |
![]() ![]() |
TScriptInterface< IAnimationDataModel > | Returns the IAnimationDataModel as a script-interface, provides access to UObject and Interface | |
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
float | GetFirstMatchingPosFromMarkerSyncPos
(
const FMarkerSyncAnimPosition& InMarkerSyncGroupPosition |
|
![]() ![]() ![]() |
int32 | GetFrameAtTime
(
const float Time |
Get the frame number for the provided time |
![]() ![]() ![]() |
void | GetMarkerIndicesForPosition
(
const FMarkerSyncAnimPosition& SyncPosition, |
|
![]() ![]() ![]() |
void | GetMarkerIndicesForPosition
(
const FMarkerSyncAnimPosition& SyncPosition, |
|
![]() ![]() ![]() |
void | GetMarkerIndicesForTime
(
float CurrentTime, |
|
![]() ![]() ![]() |
FMarkerSyncAnimPosition | GetMarkerSyncPositionfromMarkerIndicies
(
int32 PrevMarker, |
|
![]() ![]() ![]() |
FMarkerSyncAnimPosition | GetMarkerSyncPositionFromMarkerIndicies
(
int32 PrevMarker, |
|
![]() ![]() ![]() |
float | GetNextMatchingPosFromMarkerSyncPos
(
const FMarkerSyncAnimPosition& InMarkerSyncGroupPosition, |
|
![]() ![]() ![]() |
int32 | Return Number of Keys | |
![]() ![]() ![]() |
int32 | Return the total number of keys sampled for this animation, including the T0 key | |
![]() ![]() ![]() |
float | GetPrevMatchingPosFromMarkerSyncPos
(
const FMarkerSyncAnimPosition& InMarkerSyncGroupPosition, |
|
![]() ![]() ![]() |
FFrameRate | Return rate at which the animation is sampled | |
![]() ![]() ![]() |
float | GetTimeAtFrame
(
const int32 Frame |
Get the time at the given frame |
![]() ![]() ![]() |
void | HandleAssetPlayerTickedInternal
(
FAnimAssetTickContext& Context, |
|
![]() ![]() ![]() |
bool | HasCurveData
(
FName CurveName, |
|
![]() ![]() ![]() |
bool | HasCurveData
(
SmartName::UID_Type CurveUID, |
|
![]() ![]() ![]() |
bool | ||
![]() |
void | ||
![]() ![]() |
bool | ||
![]() ![]() ![]() |
bool | Return true if anim notify is available | |
![]() ![]() ![]() |
bool | ||
![]() ![]() |
void | ||
![]() |
void | OnEndLoadPackage
(
const FEndLoadPackageContext& Context |
|
![]() ![]() |
void | OnModelModified
(
const EAnimDataModelNotifyType& NotifyType, |
Callback registered to UAnimDatModel::GetModifiedEvent for the embedded object |
![]() ![]() |
void | Populates the UAnimDataModel object according to any pre-existing data. | |
![]() ![]() |
void | PopulateWithExistingModel
(
TScriptInterface< IAnimationDataModel > ExistingDataModel |
|
![]() ![]() |
void | Update cache data (notify tracks, sync markers) | |
![]() |
void | RegisterOnNotifyChanged
(
const FOnNotifyChanged& Delegate |
Registers a delegate to be called after notification has changed |
![]() |
void | Remove all notifies | |
![]() |
bool | RemoveNotifies
(
const TArray< FName >& NotifiesToRemove |
Remove the notifies specified |
![]() |
void | RenameNotifies
(
FName InOldName, |
Renames all named notifies with InOldName to InNewName |
![]() ![]() |
bool | ||
![]() |
void | SortNotifies () |
Sort the Notifies array by time, earliest first. |
![]() ![]() |
void | TickByMarkerAsFollower
(
FMarkerTickRecord& Instance, |
|
![]() ![]() |
void | TickByMarkerAsLeader
(
FMarkerTickRecord& Instance, |
|
![]() |
void | UnregisterOnNotifyChanged
(
void* Unregister |
|
![]() ![]() |
void | Validates that DataModel contains a valid UAnimDataModel object |
Overridden from UAnimationAsset
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
float | Returns the total play length of the montage, if played back with a speed of 1.0. | |
![]() ![]() |
void | ||
![]() ![]() ![]() |
void | TickAssetPlayer
(
FAnimTickRecord& Instance, |
Advances the asset player instance |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
|
![]() ![]() ![]() |
void | GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
![]() ![]() |
void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |
![]() ![]() ![]() |
bool | Called during async load to determine if PostLoad can be called on the loading thread. | |
![]() ![]() |
void | PostDuplicate
(
EDuplicateMode::Type DuplicateMode |
|
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
Name | Description |
---|---|
FOnNotifyChanged | |
FOnNotifyChangedMulticaster |