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,
    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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback