Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp |
void SetAnimationMode
&40;
EAnimationMode::Type InAnimationMode,
bool bForceInitAnimScriptInstance
&41;
Remarks
Below are the interface to control animation when animation mode, not blueprint mode Set the Animation Mode
Parameters
| Name | Description |
|---|---|
| InAnimationMode | : Requested AnimationMode |
| bForceInitAnimScriptInstance | : Init AnimScriptInstance if the AnimationMode is AnimationBlueprint even if the new animation mode is the same as current (this allows to use BP construction script to do this) |