Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkinnedMeshComponent
Description
Set whether this component uses CPU skinning Notes:
- If enabled, skeletal mesh referenced by this component will be removed from streaming manager
- Streaming cannot be (re)enabled as long as any component uses CPU skinning
- This function is expensive
| Name | SetCPUSkinningEnabled |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h |
| Include Path | #include "Components/SkinnedMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp |
void SetCPUSkinningEnabled
(
bool bEnable,
bool bRecreateRenderStateImmediately
)