| 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. |
|
AnimationTrackNames |
This is name of RawAnimationData tracks for editoronly - if we lose skeleton, we'll need relink them |
|
|
AssetImportData |
Importing data and options used for this mesh |
|
|
AuthoredSyncMarkers |
Authored Sync markers |
|
|
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. |
|
|
bCompressionInProgress |
Are we currently compressing this animation. |
|
|
uint32: 1 |
bDoNotOverrideCompression |
Do not attempt to override compression scheme when running CompressAnimations commandlet. |
|
bEnableRootMotion |
If this is on, it will allow extracting of root motion |
|
|
bForceRootLock |
Force Root Bone Lock even if Root Motion is not enabled |
|
|
bNeedsRebake |
||
|
BoneCompressionSettings |
The bone compression settings used to compress bones in this sequence. |
|
|
bRootMotionSettingsCopiedFromMontage |
Have we copied root motion settings from an owning montage |
|
|
bUseNormalizedRootMotionScale |
If this is on, it will use a normalized scale value for the root motion extracted: FVector |
|
|
bUseRawDataOnly |
Should we be always using our raw data (i.e is our compressed data stale) |
|
|
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. |
|
CurveCompressionSettings |
The curve compression settings used to compress curves in this sequence. |
|
|
float |
ImportFileFramerate |
The DCC framerate of the imported file. UI information only, unit are Hz |
|
ImportResampleFramerate |
The resample framerate that was computed during import. UI information only, unit are Hz |
|
|
Interpolation |
This defines how values between keys are calculated |
|
|
MarkerDataUpdateCounter |
Track whether we have updated markers so cached data can be updated. |
|
|
NumFrames |
Number of raw frames in this sequence (not used by engine - just for informational purposes). |
|
|
TArray< struct ... |
RawAnimationData |
Raw uncompressed keyframe data. |
|
RawDataGuid |
Update this if the contents of RawAnimationData changes;. |
|
|
RefFrameIndex |
Additve reference frame if RefPoseType == AnimFrame |
|
|
UAnimSequence &... |
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. |
|
RetargetSourceAssetReferencePose |
When using RetargetSourceAsset, use the post stored here |
|
|
TEnumAsByte< ER... |
RootMotionRootLock |
Root Bone will be locked to that position when extracting root motion. |
|
TArray< struct ... |
SourceRawAnimationData |
Source RawAnimationData. |
|
TArray< struct ... |
TrackToSkeletonMapTable |
In the future, maybe keeping RawAnimSequenceTrack + TrackMap as one would be good idea to avoid inconsistent array size TrackToSkeletonMapTable(i) should contains track mapping data for RawAnimationData(i). |
|
UniqueMarkerNames |
List of Unique marker names in this animation sequence |
Name | Description | |
---|---|---|
|
UAnimSequence ( |
Name | Description | ||
---|---|---|---|
|
AddBoneCustomAttribute ( |
||
|
AddBoneFloatCustomAttribute |
||
|
AddBoneIntegerCustomAttribute |
||
|
AddBoneStringCustomAttribute |
||
|
AddKeyToSequence ( |
Add Key to Transform Curves |
|
|
AddLoopingInterpolation() |
Insert extra frame of the first frame at the end of the frame so that it improves the interpolation when it loops This increases framecount + time, so that it requires recompression |
|
|
AddNewRawTrack ( |
Adds a new track (if no track of the supplied name is found) to the raw animation data, optionally setting it to TrackData. |
|
|
AddReferencedObjects ( |
||
|
ApplyCompressedData |
||
|
ApplyCompressedData |
||
|
BakeOutAdditiveIntoRawData ( |
Bakes out the additive version of this animation into the raw data. |
|
|
BakeOutVirtualBoneTracks ( |
Bakes out track data for the skeletons virtual bones into the raw data. |
|
|
BakeTrackCurvesToRawAnimation() |
Bake Transform Curves.TransformCurves to RawAnimation after making a back up of current RawAnimation |
|
|
CanBakeAdditive() |
Is this animation valid for baking into additive. |
|
|
CleanAnimSequenceForImport() |
Clears some data in the AnimSequence, so it can be reused when importing a new animation with same name over it. |
|
|
ClearBakedTransformData() |
Sometimes baked data gets invalidated. |
|
|
ClearCompressedBoneData() |
||
|
ClearCompressedCurveData() |
||
|
CompressRawAnimData ( |
Removes trivial frames frames of tracks when position or orientation is constant over the entire animation from the raw animation data. |
|
|
CompressRawAnimData() |
Removes trivial frames frames of tracks when position or orientation is constant over the entire animation from the raw animation data. |
|
|
CopyNotifies ( |
Copy AnimNotifies from one UAnimSequence to another. |
|
|
CreateAnimation ( |
Create Animation Sequence from the given animation |
|
|
CreateAnimation ( |
Create Animation Sequence from Reference Pose of the Mesh |
|
|
CreateAnimation ( |
Create Animation Sequence from the Mesh Component's current bone transform |
|
|
CropRawAnimData ( |
Crops the raw anim data either from Start to CurrentTime or CurrentTime to End depending on value of bFromStart. |
|
|
DoesContainTransformCurves() |
Return true if it contains transform curves |
|
|
DoesNeedRebake() |
Return true if it needs to re-bake |
|
|
DoesNeedRecompress() |
Return true if compressed data is out of date / missing and so animation needs to use raw data |
|
|
DoesSequenceContainZeroScale() |
Test whether at any point we will scale a bone to 0 (needed for validating additive anims) |
|
|
ExtractBoneTransform ( |
||
|
ExtractBoneTransform ( |
Extract Bone Transform of the Time given, from InRawAnimationData |
|
|
ExtractBoneTransform ( |
Extract Bone Transform of the Time given, from InRawAnimationData |
|
|
ExtractRootMotion ( |
Extract Root Motion transform from the animation. |
|
|
ExtractRootMotionFromRange ( |
Extract Root Motion transform from a contiguous position range (no looping) |
|
|
ExtractRootTrackTransform ( |
Extract the transform from the root track for the given animation position. |
|
|
FCustomAttri... |
FindOrAddCustomAttributeForBone ( |
|
|
uint8 * |
FindSyncMarkerPropertyData ( |
Get a pointer to the data for a given Anim Notify. |
|
FlagDependentAnimationsAsRawDataOnly() |
Helper function to allow us to notify animations that depend on us that they need to update. |
|
|
FlipRotationWForNonRoot ( |
Flip Rotation's W For NonRoot items, and compress it again if SkelMesh exists |
|
|
GenerateGuidFromRawData() |
Generate a GUID from a hash of our own raw data. |
|
|
const TArray... |
GetAnimationTrackNames() |
|
|
GetApproxBoneCompressedSize() |
||
|
GetApproxCompressedSize() |
||
|
GetApproxRawSize() |
||
|
GetBonePose ( |
Get Bone Transform of the Time given, relative to Parent for all RequiredBones This returns different transform based on additive or not. |
|
|
GetBoneTransform ( |
Get Bone Transform of the Time given, relative to Parent for the Track Given |
|
|
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. |
|
GetCustomAttributes ( |
||
|
GetCustomAttributesForBone ( |
||
|
GetDDCCacheKeySuffix ( |
||
|
float |
GetFrameRate() |
Returns the framerate of the animation. |
|
const TArray... |
GetRawAnimationData() |
|
|
const FRawAn... |
GetRawAnimationTrack ( |
|
|
FRawAnimSequ... |
GetRawAnimationTrack ( |
|
|
GetRawDataGuid() |
Return this animations guid for the raw data. |
|
|
GetRawNumberOfFrames() |
Accessors for animation frame count. |
|
|
const TArray... |
GetRawTrackToSkeletonMapTable() |
|
|
GetSkeletonIndexFromCompressedDataTrackIndex ( |
Get Skeleton Bone Index from Track Index for compressed data |
|
|
GetSkeletonIndexFromRawDataTrackIndex ( |
Begin Utility functions. |
|
|
GetUncompressedRawSize() |
||
|
HasBakedTransformCurves() |
Returns whether this animation has baked transform curves (i.e. has the raw data been modified) |
|
|
HasSourceRawData() |
||
|
InsertFramesToRawAnimData |
Crops the raw anim data either from Start to CurrentTime or CurrentTime to End depending on value of bFromStart. |
|
|
IsCompressedDataValid() |
||
|
IsCurveCompressedDataValid() |
||
|
OnlyUseRawData() |
Should we be always using our raw data (i.e is our compressed data stale) |
|
|
OnRawDataChanged() |
Kick off compression request when our raw data has changed. |
|
|
PostProcessSequence ( |
End Utility functions. |
|
|
RecycleAnimSequence() |
Clears any data in the AnimSequence |
|
|
RefreshSyncMarkerDataFromAuthored() |
Refresh sync marker data |
|
|
RemoveAllCustomAttributes() |
||
|
RemoveAllCustomAttributesForBone ( |
||
|
RemoveAllTracks() |
Clear all raw animation data that contains bone tracks |
|
|
RemoveCustomAttribute |
||
|
RequestAnimCompression ( |
||
|
RequestAsyncAnimRecompression ( |
||
|
RequestSyncAnimRecompression ( |
||
|
ResizeSequence |
Utility function to resize the sequence It rearranges curve data + notifies |
|
|
RestoreSourceData() |
Restore the pre baked transform curve raw data |
|
|
SerializeCompressedData |
Write the compressed data to the supplied FArchive. |
|
|
SetRawNumberOfFrame ( |
||
|
SetUseRawDataOnly ( |
||
|
ShouldPerformStripping |
Get compressed data for this UAnimSequence. May be built directly or pulled from DDC. |
|
|
SortSyncMarkers() |
Sort the sync markers array by time, earliest first. |
|
|
SynchronousCustomAttributesCompression() |
||
|
TestEvalauteAnimation() |
Performs multiple evaluations of the animation as a test of compressed data validatity. |
|
|
UpdateCompressedCurveName ( |
||
|
UpdateDependentStreamingAnimations() |
Helper function to allow us to update streaming animations that depend on us with our data when we are updated. |
|
|
UseRawDataForPoseExtraction ( |
||
|
ValidateCurrentPosition ( |
Take a set of marker positions and validates them against a requested start position, updating them as desired |
|
|
WaitOnExistingCompression ( |
Name | Description | ||
---|---|---|---|
|
AdvanceMarkerPhaseAsFollower ( |
||
|
AdvanceMarkerPhaseAsLeader ( |
||
|
EnableRootMotionSettingFromMontage ( |
To support anim sequence base to all montages |
|
|
EvaluateCurveData ( |
Evaluate curve data to Instance at the time of CurrentTime |
|
|
float |
EvaluateCurveData ( |
Evaluate curve data to Instance at the time of CurrentTime |
|
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 |
|
GetAnimationPose ( |
Begin Transform related functions. |
|
|
float |
GetFirstMatchingPosFromMarkerSyncPos ( |
|
|
GetMarkerIndicesForPosition ( |
||
|
GetMarkerIndicesForTime ( |
||
|
FMarkerSyncA... |
GetMarkerSyncPositionfromMarkerIndicies |
|
|
float |
GetNextMatchingPosFromMarkerSyncPos ( |
|
|
GetNumberOfFrames() |
Return Number of Frames |
|
|
float |
GetPrevMatchingPosFromMarkerSyncPos ( |
|
|
HandleAssetPlayerTickedInternal ( |
||
|
HasCurveData ( |
||
|
HasRootMotion() |
||
|
IsValidToPlay() |
Add validation check to see if it's being ready to play or not |
|
|
MarkRawDataAsModified ( |
Store that our raw data has changed so that we can get correct compressed data later on. |
|
|
RefreshCacheData() |
Update cache data (notify tracks, sync markers) |
Name | Description | ||
---|---|---|---|
|
GetAllAnimationSequencesReferred ( |
Retrieve all animations that are used by this asset |
|
|
GetMarkerUpdateCounter() |
||
|
GetUniqueMarkerNames() |
Return a list of unique marker names for blending compatibility |
|
|
IsValidAdditive() |
Return true if this is valid additive animation false otherwise |
|
|
ReplaceReferredAnimations ( |
Replace this assets references to other animations based on ReplacementMap |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
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 |
|
|
GetPreloadDependencies |
Called during cooking. |
|
|
PostDuplicate ( |
Called after duplication & serialization and before PostLoad. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreSave ( |
Presave function. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
GetAdditiveBasePose ( |
Use other GetAdditiveBasePose signature |
|
|
GetAdditiveBasePose ( |
Use other GetAdditiveBasePose signature |
|
|
GetBonePose ( |
Use other GetBonePose signature |
|
|
GetBonePose_Additive ( |
Use other GetBonePose_Additive signature |
|
|
GetBonePose_Additive ( |
Use other GetBonePose_Additive signature |