| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/AnimSequence.h |
Include |
#include "Animation/AnimSequence.h" |
class UAnimSequence : public UAnimSequenceBase
Name | Description | ||
---|---|---|---|
|
TEnumAsByte< en... |
AdditiveAnimType |
Additive animation type. |
|
TObjectPtr< cla... |
AssetImportData |
Importing data and options used for this mesh |
|
AttributeCurves |
||
|
AuthoredSyncMarkers |
Authored Sync markers |
|
|
bool |
bAllowFrameStripping |
Allow frame stripping to be performed on this animation if the platform requests it Can be disabled if animation has high frequency movements that are being lost. |
|
bool |
bBlockCompressionRequests |
|
|
uint32: 1 |
bDoNotOverrideCompression |
Do not attempt to override compression scheme when running CompressAnimations commandlet. |
|
bool |
bEnableRootMotion |
If this is on, it will allow extracting of root motion |
|
bool |
bForceRootLock |
Force Root Bone Lock even if Root Motion is not enabled |
|
TObjectPtr< cla... |
BoneCompressionSettings |
The bone compression settings used to compress bones in this sequence. |
|
bool |
bRootMotionSettingsCopiedFromMontage |
Have we copied root motion settings from an owning montage |
|
bool |
bUseNormalizedRootMotionScale |
If this is on, it will use a normalized scale value for the root motion extracted: FVector(1.0, 1.0, 1.0) |
|
CacheTasksByKeyHash |
||
|
int32 |
CompressCommandletVersion |
Saved version number with CompressAnimations commandlet. To help with doing it in multiple passes. |
|
CompressedData |
||
|
float |
CompressionErrorThresholdScale |
Set a scale for error threshold on compression. |
|
TObjectPtr< cla... |
CurveCompressionSettings |
The curve compression settings used to compress curves in this sequence. |
|
DataByPlatformKeyHash |
||
|
DataKeyHash |
||
|
float |
ImportFileFramerate |
The DCC framerate of the imported file. UI information only, unit are Hz |
|
int32 |
ImportResampleFramerate |
The resample framerate that was computed during import. UI information only, unit are Hz |
|
EAnimInterpolat... |
Interpolation |
This defines how values between keys are calculated |
|
int32 |
MarkerDataUpdateCounter |
Track whether we have updated markers so cached data can be updated. |
|
int32 |
NumberOfSampledFrames |
|
|
int32 |
NumberOfSampledKeys |
|
|
PlatformTargetFrameRate |
||
|
int32 |
RefFrameIndex |
Additve reference frame if RefPoseType == AnimFrame |
|
TObjectPtr< cla... |
RefPoseSeq |
Additive reference animation if it's relevant - i.e. AnimScaled or AnimFrame |
|
TEnumAsByte< en... |
RefPoseType |
Additive refrerence pose type. Refer above enum type |
|
RetargetSource |
Base pose to use when retargeting |
|
|
TSoftObjectPtr<... |
RetargetSourceAsset |
If RetargetSource is set to Default (None), this is asset for the base pose to use when retargeting. |
|
TArray< FTransf... |
RetargetSourceAssetReferencePose |
When using RetargetSourceAsset, use the post stored here |
|
TEnumAsByte< ER... |
RootMotionRootLock |
Root Bone will be locked to that position when extracting root motion. |
|
TargetFrameRate |
||
|
UniqueMarkerNames |
List of Unique marker names in this animation sequence |
Name | Description | |
---|---|---|
|
UAnimSequence ( |
Name | Description | ||
---|---|---|---|
|
void |
AddKeyToSequence ( |
Add Key to Transform Curves |
|
void |
AddReferencedObjects ( |
|
|
BeginCacheDerivedData ( |
||
|
void |
BeginCacheDerivedDataForCurrentPlatform() |
|
|
FCompressedA... |
CacheDerivedData ( |
Synchronous caching of compressed animation data for provided target platform. |
|
void |
CacheDerivedDataForCurrentPlatform() |
|
|
void |
CalculateNumberOfSampledKeys() |
|
|
bool |
CanBakeAdditive() |
Is this animation valid for baking into additive. |
|
void |
ClearCompressedBoneData() |
|
|
void |
ClearCompressedCurveData() |
|
|
bool |
CreateAnimation ( |
Create Animation Sequence from the given animation |
|
bool |
CreateAnimation ( |
Create Animation Sequence from the Mesh Component's current bone transform |
|
bool |
CreateAnimation ( |
Create Animation Sequence from Reference Pose of the Mesh |
|
CreateDerivedDataKeyHash ( |
||
|
void |
DeleteBoneAnimationData() |
|
|
void |
DeleteDeprecatedRawAnimationData() |
|
|
void |
DeleteNotifyTrackData() |
|
|
bool |
DoesNeedRecompress() |
Return true if compressed data is out of date / missing and so animation needs to use raw data |
|
bool |
DoesSequenceContainZeroScale() |
Test whether at any point we will scale a bone to 0 (needed for validating additive anims) |
|
void |
EndCacheDerivedData ( |
|
|
void |
EnsureValidRawDataGuid() |
|
|
void |
EvaluateAttributes ( |
|
|
uint8 * |
FindSyncMarkerPropertyData ( |
Get a pointer to the data for a given Anim Notify. |
|
void |
FinishAsyncTasks() |
|
|
void |
FlagDependentAnimationsAsRawDataOnly() |
Helper function to allow us to notify animations that depend on us that they need to update. |
|
int32 |
GetApproxBoneCompressedSize() |
|
|
int32 |
GetApproxCompressedSize() |
|
|
int64 |
GetApproxRawSize() |
|
|
void |
GetBonePose ( |
Get Bone Transform of the Time given, relative to Parent for all RequiredBones This returns different transform based on additive or not. |
|
void |
GetBoneTransform ( |
|
|
void |
GetBoneTransform ( |
Get Bone Transform of the Time given, relative to Parent for the Track Given |
|
const TArray... |
GetCompressedCurveNames() |
|
|
const TArray... |
GetCompressedTrackToSkeletonMapTable() |
|
|
float |
GetCurrentTimeFromMarkers ( |
Advancing based on markers. |
|
const TArray... |
GetRetargetTransforms() |
|
|
GetRetargetTransformsSourceName() |
||
|
GetTargetSamplingFrameRate ( |
||
|
int32 |
GetUncompressedRawSize() |
|
|
bool |
IsAsyncTaskComplete() |
|
|
bool |
IsCompiling() |
|
|
bool |
IsCompressedDataValid() |
|
|
bool |
IsCurveCompressedDataValid() |
|
|
void |
MoveAttributesToModel() |
|
|
bool |
PollCacheDerivedData ( |
|
|
void |
RefreshSyncMarkerDataFromAuthored() |
Refresh sync marker data |
|
void |
Reschedule ( |
|
|
void |
ResetAnimation() |
Resets Bone Animation, Curve data and Notify tracks |
|
void |
RetargetBoneTransform ( |
Retarget a single bone transform, to apply right after extraction. |
|
void |
SerializeCompressedData ( |
Write the compressed data to the supplied FArchive. |
|
void |
SortSyncMarkers() |
Sort the sync markers array by time, earliest first. |
|
void |
SynchronousAnimatedBoneAttributesCompression() |
|
|
bool |
TryCancelAsyncTasks() |
|
|
void |
UpdateCompressedCurveName ( |
|
|
void |
UpdateDependentStreamingAnimations() |
Helper function to allow us to update streaming animations that depend on us with our data when we are updated. |
|
bool |
UseRawDataForPoseExtraction ( |
|
|
void |
ValidateCurrentPosition ( |
Take a set of marker positions and validates them against a requested start position, updating them as desired |
|
void |
WaitOnExistingCompression ( |
Name | Description | ||
---|---|---|---|
|
void |
AdvanceMarkerPhaseAsFollower ( |
|
|
void |
AdvanceMarkerPhaseAsLeader ( |
|
|
void |
EnableRootMotionSettingFromMontage ( |
To support anim sequence base to all montages |
|
float |
EvaluateCurveData ( |
Evaluate curve data to Instance at the time of CurrentTime |
|
void |
EvaluateCurveData ( |
Evaluate curve data to Instance at the time of CurrentTime |
|
FTransform |
ExtractRootMotion ( |
Extract Root Motion transform from the animation. |
|
FTransform |
ExtractRootMotionFromRange ( |
Extract Root Motion transform from a contiguous position range (no looping) |
|
FTransform |
ExtractRootTrackTransform ( |
Extract the transform from the root track for the given animation position. |
|
EAdditiveAni... |
GetAdditiveAnimType() |
Default implementation, no additive |
|
UAnimSequenc... |
GetAdditiveBasePose() |
Ideally this would be animsequcnebase, but we might have some issue with that. For now, just allow AnimSequence |
|
void |
GetAnimationPose ( |
Begin Transform related functions. |
|
float |
GetFirstMatchingPosFromMarkerSyncPos ( |
|
|
void |
GetMarkerIndicesForPosition ( |
|
|
void |
GetMarkerIndicesForTime ( |
|
|
FMarkerSyncA... |
GetMarkerSyncPositionFromMarkerIndicies ( |
|
|
float |
GetNextMatchingPosFromMarkerSyncPos ( |
|
|
int32 |
GetNumberOfSampledKeys() |
Return the total number of keys sampled for this animation, including the T0 key |
|
float |
GetPrevMatchingPosFromMarkerSyncPos ( |
|
|
GetSamplingFrameRate() |
Return rate at which the animation is sampled |
|
|
void |
HandleAssetPlayerTickedInternal ( |
|
|
bool |
HasCurveData ( |
|
|
bool |
HasRootMotion() |
|
|
bool |
IsValidToPlay() |
Add validation check to see if it's being ready to play or not |
|
void |
OnAnimModelLoaded() |
|
|
void |
OnModelModified ( |
Callback registered to UAnimDatModel::GetModifiedEvent for the embedded object |
|
void |
PopulateModel() |
Populates the UAnimDataModel object according to any pre-existing data. |
|
void |
RefreshCacheData() |
Update cache data (notify tracks, sync markers) |
Name | Description | ||
---|---|---|---|
|
bool |
GetAllAnimationSequencesReferred ( |
Retrieve all animations that are used by this asset |
|
int32 |
GetMarkerUpdateCounter() |
|
|
GetUniqueMarkerNames() |
Return a list of unique marker names for blending compatibility |
|
|
bool |
IsValidAdditive() |
Return true if this is valid additive animation false otherwise |
|
void |
OnSetSkeleton ( |
|
|
void |
ReplaceReferredAnimations ( |
Replace this assets references to other animations based on ReplacementMap |
Name | Description | ||
---|---|---|---|
|
void |
BeginCacheForCookedPlatformData ( |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects |
|
void |
BeginDestroy() |
Called before destroying the object. |
|
void |
ClearAllCachedCookedPlatformData() |
Clear all cached cooked platform data |
|
void |
GetAssetRegistryTags ( |
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 |
GetPreloadDependencies |
Called during cooking. |
|
bool |
IsCachedCookedPlatformDataLoaded ( |
Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData |
|
bool |
IsReadyForFinishDestroy() |
Called to check if the object is ready for FinishDestroy. |
|
void |
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
void |
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
|
void |
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
void |
PreSave ( |
Presave function. |
|
void |
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
|
void |
WillNeverCacheCookedPlatformDataAgain() |
All caching has finished for this object (all IsCachedCookedPlatformDataLoaded functions have finished for all platforms) |
Name | Description | ||
---|---|---|---|
|
AnimationTrackNames |
Animation track names has been deprecated see FBoneAnimationTrack::Name |
|
|
bool |
bUseRawDataOnly |
bUseRawDataOnly public access will be deprecated |
|
int32 |
NumberOfKeys |
NumberOfKeys is deprecated see UAnimDataModel::GetNumberOfKeys for the number of source data keys, or GetNumberOfSampledKeys for the target keys |
|
int32 |
NumFrames |
NumFrames is deprecated see UAnimDataModel::GetNumberOfFrames for the number of source data frames, or GetNumberOfSampledKeys for the target keys |
|
TArray< struct ... |
RawAnimationData |
RawAnimationData has been deprecated see FBoneAnimationTrack::InternalTrackData |
|
RawDataGuid |
RawDataGuid has been deprecated see GenerateGuidFromModel instead |
|
|
SamplingFrameRate |
SamplingFrameRate is deprecated see UAnimDataModel::GetFrameRate for the source frame rate, or GetSamplingFrameRate for the target frame rate instead |
|
|
SourceFilePath_DEPRECATED |
Path to the resource used to construct this skeletal mesh |
|
|
SourceFileTimestamp_DEPRECATED |
Date/Time-stamp of the file from the last import |
|
|
TArray< struct ... |
SourceRawAnimationData_DEPRECATED |
Source RawAnimationData. |
Name | Description | ||
---|---|---|---|
|
void |
AddBoneFloatCustomAttribute |
AddBoneCustomAttribute has been deprecated see UAnimDataController::AddAttribute |
|
void |
AddBoneIntegerCustomAttribute |
AddBoneCustomAttribute has been deprecated see UAnimDataController::AddAttribute |
|
void |
AddBoneStringCustomAttribute |
AddBoneStringCustomAttribute has been deprecated see UAnimDataController::AddAttribute |
|
void |
ApplyCompressedData |
ApplyCompressedData has been deprecated |
|
void |
BakeOutAdditiveIntoRawData ( |
BakeOutAdditiveIntoRawData has been deprecated, this behaviour has moved to FCompressibleAnimData |
|
void |
BakeOutVirtualBoneTracks ( |
BakeOutVirtualBoneTracks has been deprecated |
|
void |
BakeTrackCurvesToRawAnimationTracks ( |
BakeTrackCurvesToRawAnimationTracks has been deprecated |
|
void |
ClearResampledAnimationTrackData() |
ClearResampledAnimationTrackData has been deprecated |
|
GenerateGuidFromRawData() |
GenerateGuidFromRawData has been deprecated use IAnimationDataModel::GenerateGuid instead |
|
|
void |
GetAdditiveBasePose ( |
Use other GetAdditiveBasePose signature |
|
void |
GetAdditiveBasePose ( |
Use other GetAdditiveBasePose signature |
|
void |
GetBonePose ( |
Use other GetBonePose signature |
|
void |
GetBonePose_Additive ( |
Use other GetBonePose_Additive signature |
|
void |
GetBonePose_Additive ( |
Use other GetBonePose_Additive signature |
|
void |
GetBoneTransform ( |
Use other GetBoneTransform signature using double and skeleton index |
|
GetDDCCacheKeySuffix ( |
GetDDCCacheKeySuffix has been deprecated use CreateDerivedDataKeyHash instead |
|
|
FMarkerSyncA... |
GetMarkerSyncPositionfromMarkerIndicies ( |
Use other GetMarkerSyncPositionfromMarkerIndicies signature |
|
GetRawDataGuid() |
GetRawDataGuid has been deprecated use GenerateGuidFromModel instead |
|
|
int32 |
GetSkeletonIndexFromCompressedDataTrackIndex ( |
GetSkeletonIndexFromCompressedDataTrackIndex has been deprecated |
|
bool |
OnlyUseRawData() |
OnlyUseRawData has been deprecated |
|
PRAGMA_DISAB... |
PreSave ( |
Use version that takes FObjectPreSaveContext instead. |
|
void |
RecompressAnimationData() |
RecompressAnimationData has been deprecated |
|
void |
RemoveAllCustomAttributes() |
RemoveAllCustomAttributes has been deprecated see UAnimDataController::RemoveAllAttributes |
|
void |
RemoveAllCustomAttributesForBone ( |
RemoveAllCustomAttributesForBone has been deprecated see UAnimDataController::RemoveAllAttributesForBone |
|
void |
RemoveCustomAttribute |
RemoveCustomAttribute has been deprecated see UAnimDataController::RemoveAttribute |
|
void |
RequestAnimCompression ( |
RequestAnimCompression has been deprecated use BeginCacheDerivedData or CacheDerivedData instead |
|
void |
RequestAsyncAnimRecompression ( |
RequestSyncAnimRecompression has been deprecated use BeginCacheDerivedData instead |
|
void |
RequestSyncAnimRecompression ( |
RequestSyncAnimRecompression has been deprecated use CacheDerivedData instead |
|
void |
ResampleAnimationTrackData() |
ResampleAnimationTrackData has been deprecated |
|
void |
SetUseRawDataOnly ( |
SetUseRawDataOnly has been deprecated |
|
bool |
ShouldPerformStripping ( |
Public access to ShouldPerformStripping has been deprecated |
|
void |
TestEvalauteAnimation() |
TestEvalauteAnimation has been deprecated |