Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
Include |
#include "Components/SkeletalMeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp |
void OverrideAnimationData
(
UAnimationAsset * InAnimToPlay,
bool bIsLooping,
bool bIsPlaying,
float Position,
float PlayRate
)
This overrides current AnimationData parameter in the SkeletalMeshComponent. This will serialize when the component serialize so it can be used during construction script. However note that this will override current existing data This can be useful if you'd like to make a blueprint with custom default animation per component This sets single player mode, which means you can't use AnimBlueprint with it