USkinnedMeshComponent::HideBoneByName

Hides the specified bone with name.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h

Include

#include "Components/SkinnedMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp

Syntax

void HideBoneByName
(
    FName BoneName,
    EPhysBodyOp PhysBodyOption
)

Remarks

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

Parameters

Parameter

Description

BoneName

Name of bone to hide

PhysBodyOption

Option for physics bodies that attach to the bones to be hidden