/Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h
Below are the interface to control animation when animation mode, not blueprint mode Set the Animation Mode
void SetAnimationMode ( [EAnimationMode::Type](API\Runtime\Engine\Components\EAnimationMode__Type) InAnimationMode, bool bForceInitAnimScriptInstance )