UExistingMeshMaterialProperties

Standard material property settings for tools that visualize materials on existing meshes (e.g. to help show UVs)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Properties/MeshMaterialProperties.h

Include

#include "Properties/MeshMaterialProperties.h"

Syntax

UCLASS()
class UExistingMeshMaterialProperties : public UInteractiveToolPropertySet

Remarks

Standard material property settings for tools that visualize materials on existing meshes (e.g. to help show UVs)

Variables

Name Description

Public variable UProperty Meta

TObjectPtr< UMa...

 

CheckerMaterial

Public variable UProperty Category, EditAnywhere

ESetMeshMateria...

 

MaterialMode

Material that will be used on the mesh

Public variable UProperty Category, EditAnywhere, Meta

 

meta

Number of checkerboard tiles within the 0 to 1 range; only available when Checkerboard is selected as material mode

Public variable UProperty Category, EditAnywhere, Meta

TObjectPtr< UMa...

 

OverrideMaterial

Material to use instead of the original material; only available when Override is selected as material mode

Public variable UProperty Meta

TArray< FString...

 

UVChannelNamesList

Functions

Name Description

Public function Const

UMaterialInt...

 

GetActiveOverrideMaterial()

Public function Const UFunction

const TArray...

 

GetUVChannelNamesFunc()

Public function

void

 

Setup()

Public function

void

 

UpdateMaterials()

Public function

void

 

UpdateUVChannels

(
    int32 UVChannelIndex,
    const TArray< FString >& UVChannel...,
    bool bUpdateSelection
)

Overridden from UInteractiveToolPropertySet

Name Description

Public function Virtual

void

 

RestoreProperties

(
    UInteractiveTool* RestoreToToo...,
    const FString& CacheIdentifier
)

Needs custom restore in order to call setup.