Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- FAnimSubsystemInstance
- FAnimSubsystem_SharedLinkedAnimLayers
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimSubsystem_SharedLinkedAnimLayers.h |
| Include | #include "Animation/AnimSubsystem_SharedLinkedAnimLayers.h" |
Syntax
USTRUCT ()
struct FAnimSubsystem_SharedLinkedAnimLayers : public FAnimSubsystemInstance
Remarks
Data for shared linked anim instances module.
Functions
| Type | Name | Description | |
|---|---|---|---|
| UAnimInstance * | AddLinkedFunction
(
UAnimInstance* OwningInstance, |
Add a linked function to be managed by a shared anim instance. Returns the instance to bind to the function. | |
| void | AddPersistentAnimLayerClass
(
TSubclassOf< UAnimInstance > AnimInstanceClass |
Add a class to the persistent class array, insuring one instance is kept alive even when unlinked. | |
| const TArray< FLinkedAnimLayerClassData > & | |||
| FAnimSubsystem_SharedLinkedAnimLayers * | GetFromMesh
(
USkeletalMeshComponent* SkelMesh |
Retrieve subsystem from skeletal mesh component. | |
| bool | IsSharedInstance
(
const UAnimInstance* AnimInstance |
Check if a given anim instance is shared. | |
| void | RemoveLinkedFunction
(
UAnimInstance* AnimInstance, |
Remove a linked function, cleaning the instance if it's not used anymore and not persistent. | |
| void | RemovePersistentAnimLayerClass
(
TSubclassOf< UAnimInstance > AnimInstanceClass |
Remove a class from the persistent class array. | |
| void | Reset () |
Clear all linked layers data. |