Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UAnimBank |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimBank.h |
| Include Path | #include "Animation/AnimBank.h" |
Syntax
UCLASS (BlueprintType, HideCategories=Object, EditInlineNew, MinimalAPI)
class UAnimBank :
public UAnimationAsset ,
public IInterface_AsyncCompilation
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimationAsset → UAnimBank
Implements Interfaces
Classes
| Name | Remarks |
|---|---|
| FOnDependenciesChanged |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnGPUDataChanged | TMulticastDelegate_NoParams< void > | Animation/AnimBank.h | |
| FOnRebuild | FOnGPUDataChanged::FDelegate | Animation/AnimBank.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnDependenciesChanged | FOnDependenciesChanged | Animation/AnimBank.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Asset | TObjectPtr< USkinnedAsset > | Animation/AnimBank.h |
|
|
| Sequences | TArray< struct FAnimBankSequence > | Animation/AnimBank.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsInitialized | bool | Animation/AnimBank.h | ||
| CacheTasksByKeyHash | TMap< FIoHash, TPimplPtr< FAnimBankBuildAsyncCacheTask > > | Animation/AnimBank.h | ||
| Data | FAnimBankData | Animation/AnimBank.h | ||
| DataByPlatformKeyHash | TMap< FIoHash, TUniquePtr< FAnimBankData > > | Animation/AnimBank.h | ||
| DataKeyHash | FIoHash | Animation/AnimBank.h | ||
| OnGPUDataChanged | FOnGPUDataChanged | Animation/AnimBank.h | ||
| ReleaseResourcesFence | FRenderCommandFence | Animation/AnimBank.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FinishAsyncTasks() |
Make sure all async tasks are completed before returning | Animation/AnimBank.h | |
const FAnimBankData & GetData() |
Animation/AnimBank.h | ||
void InitResources() |
Animation/AnimBank.h | ||
bool IsAsyncTaskComplete() |
Returns false if there is currently an async task running | Animation/AnimBank.h | |
virtual bool NeedsLoadForTargetPlatform
(
const ITargetPlatform* TargetPlatform |
Animation/AnimBank.h | ||
void NotifyOnGPUDataChanged() |
Animation/AnimBank.h | ||
FDelegateHandle RegisterOnGPUDataChanged
(
const FOnRebuild& Delegate |
Animation/AnimBank.h | ||
void ReleaseResources() |
Animation/AnimBank.h | ||
bool TryCancelAsyncTasks () |
Try to cancel any pending async tasks. | Animation/AnimBank.h | |
void UnregisterOnGPUDataChanged
(
FDelegateUserObject Unregister |
Animation/AnimBank.h | ||
void UnregisterOnGPUDataChanged
(
FDelegateHandle Handle |
Animation/AnimBank.h | ||
bool WaitForAsyncTasks
(
float TimeLimitSeconds |
Wait until all async tasks are complete, up to a time limit Returns true if all tasks are completed | Animation/AnimBank.h |
Overridden from UAnimationAsset
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetAllAnimationSequencesReferred
(
TArray< UAnimationAsset* >& AnimationSequences, |
Retrieve all animations that are used by this asset | Animation/AnimBank.h | |
virtual void ReplaceReferredAnimations
(
const TMap< UAnimationAsset*, UAnimationAsset* >& ReplacementMap |
Replace this assets references to other animations based on ReplacementMap | Animation/AnimBank.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Animation/AnimBank.h | ||
virtual void BeginDestroy() |
Animation/AnimBank.h | ||
virtual void ClearAllCachedCookedPlatformData() |
Animation/AnimBank.h | ||
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Animation/AnimBank.h | ||
virtual bool IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
Animation/AnimBank.h | ||
virtual bool IsReadyForFinishDestroy() |
Animation/AnimBank.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Animation/AnimBank.h | ||
virtual void PostLoad() |
Animation/AnimBank.h | ||
virtual void PreSave
(
FObjectPreSaveContext ObjectSaveContext |
Animation/AnimBank.h | ||
virtual void Serialize
(
FArchive& Ar |
Animation/AnimBank.h |
Overridden from IInterface_AsyncCompilation
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsCompiling() |
Returns whether or not the asset is currently being compiled | Animation/AnimBank.h |