Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/AnimationAsset.h |
Include |
#include "Animation/AnimationAsset.h" |
class UAnimationAsset :
public UObject,
public IInterface_AssetUserData,
public IInterface_PreviewMeshProvider
Name | Description | ||
---|---|---|---|
|
TObjectPtr< cla... |
AssetMappingTable |
Asset mapping table when ParentAsset is set |
|
AssetUserData |
Array of user data stored with the asset |
|
|
ChildrenAssets |
This is transient as they're added as they're loaded |
|
|
TObjectPtr< cla... |
ParentAsset |
Parent asset is used for AnimMontage when it derives all settings but remap animation asset. |
|
TObjectPtr< cla... |
PreviewPoseAsset |
The default skeletal mesh to use when previewing this asset - this only applies when you open Persona using this asset |
|
TObjectPtr< cla... |
ThumbnailInfo |
Information for thumbnail rendering |
Name | Description | ||
---|---|---|---|
|
AddMetaData ( |
||
|
EmptyMetaData() |
||
|
UAnimMetaDat... |
FindMetaDataByClass ( |
Returns the first metadata of the specified class |
|
T * |
FindMetaDataByClass() |
Templatized version of FindMetaDataByClass that handles casting for you |
|
GetAllAnimationSequencesReferred ( |
Retrieve all animations that are used by this asset |
|
|
const UAsset... |
GetAssetMappingTable() |
|
|
GetMarkerUpdateCounter() |
||
|
const TArray... |
GetMetaData() |
Get available Metadata within the animation asset |
|
float |
GetPlayLength() |
|
|
USkeleton &#... |
GetSkeleton() |
|
|
GetSkeletonVirtualBoneGuid() |
||
|
GetUniqueMarkerNames() |
Return a list of unique marker names for blending compatibility |
|
|
HandleAnimReferenceCollection ( |
Helper function for GetAllAnimationSequencesReferred, it adds itself first and call GetAllAnimationSEquencesReferred. |
|
|
HasParentAsset() |
||
|
IsValidAdditive() |
Return true if this is valid additive animation false otherwise |
|
|
RefreshParentAssetData() |
||
|
RemapAsset ( |
||
|
RemapTracksToNewSkeleton |
||
|
RemoveMetaData ( |
||
|
RemoveMetaData ( |
||
|
ReplaceReferredAnimations ( |
Replace this assets references to other animations based on ReplacementMap |
|
|
ReplaceSkeleton |
Replace Skeleton |
|
|
ResetSkeleton ( |
||
|
SetParentAsset ( |
Parent Asset related function. Used by editor |
|
|
SetPreviewSkeletalMesh ( |
Sets or updates the preview skeletal mesh |
|
|
SetSkeleton ( |
||
|
SetSkeletonVirtualBoneGuid ( |
||
|
TickAssetPlayer ( |
Advances the asset player instance |
|
|
UpdateParentAsset() |
We have to update whenever we have anything loaded |
|
|
ValidateParentAsset() |
||
|
ValidateSkeleton() |
Validate our stored data against our skeleton and update accordingly |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
AddAssetUserData ( |
||
|
const TArray... |
GetAssetUserDataArray() |
|
|
UAssetUserDa... |
GetAssetUserDataOfClass ( |
|
|
RemoveUserDataOfClass ( |
Name | Description | ||
---|---|---|---|
|
USkeletalMes... |
GetPreviewMesh() |
Get the preview mesh for this asset |
|
USkeletalMes... |
GetPreviewMesh ( |
Get the preview mesh for this asset, non const. |
|
SetPreviewMesh ( |
IInterface_PreviewMeshProvider interface |
Name | Description | ||
---|---|---|---|
|
float |
GetMaxCurrentTime() |
Use GetPlayLength instead |