USkinnedMeshComponent::ShowMaterialSection

Allows hiding of a particular material (by ID) on this instance of a SkeletalMesh.

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 ShowMaterialSection
(
    int32 MaterialID,
    int32 SectionIndex,
    bool bShow,
    int32 LODIndex
)

Remarks

Allows hiding of a particular material (by ID) on this instance of a SkeletalMesh.

Parameters

Parameter

Description

MaterialID

Index of the material show/hide

bShow

True to show the material, false to hide it

LODIndex

Index of the LOD to modify material visibility within

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss