Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkinnedMeshComponent
Description
Hides the specified bone with name. Currently this just enforces a scale of 0 for the hidden bones. Compared to HideBone By Index - This keeps track of list of bones and update when LOD changes
| Name | HideBoneByName |
| 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 |
UFUNCTION (BlueprintCallable, Category="Components|SkinnedMesh")
void HideBoneByName
(
FName BoneName,
EPhysBodyOp PhysBodyOption
)
Parameters
| Name | Remarks |
|---|---|
| BoneName | Name of bone to hide |
| PhysBodyOption | Option for physics bodies that attach to the bones to be hidden |