Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMeshComponent
Description
Set the anim instance class. Clears and re-initializes the anim instance with the new class and sets animation mode to 'AnimationBlueprint'
| Name | SetAnimInstanceClass |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include Path | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|SkeletalMesh",
Meta=(Keywords="AnimBlueprint", DisplayName="Set Anim Instance Class"))
virtual void SetAnimInstanceClass
(
class UClass * NewClass
)