Navigation
API > API/Plugins > API/Plugins/MeshModelingTools
Standard material property settings for tools that visualize materials on existing meshes (e.g. to help show UVs)
| Name | UExistingMeshMaterialProperties |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingTools/Public/Properties/MeshMaterialProperties.h |
| Include Path | #include "Properties/MeshMaterialProperties.h" |
Syntax
UCLASS (MinimalAPI)
class UExistingMeshMaterialProperties : public UInteractiveToolPropertySet
Inheritance Hierarchy
- FWatchablePropertySet → UInteractiveToolPropertySet → UExistingMeshMaterialProperties
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveToolPropertySet → UExistingMeshMaterialProperties
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CheckerMaterial | TObjectPtr< UMaterialInstanceDynamic > | Properties/MeshMaterialProperties.h |
|
|
| MaterialMode | ESetMeshMaterialMode | Material that will be used on the mesh | Properties/MeshMaterialProperties.h |
|
| meta | Number of checkerboard tiles within the 0 to 1 range; only available when Checkerboard is selected as material mode | Properties/MeshMaterialProperties.h |
|
|
| OverrideMaterial | TObjectPtr< UMaterialInterface > | Material to use instead of the original material; only available when Override is selected as material mode | Properties/MeshMaterialProperties.h |
|
| UVChannelNamesList | TArray< FString > | Properties/MeshMaterialProperties.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInterface * GetActiveOverrideMaterial() |
Properties/MeshMaterialProperties.h | ||
| Properties/MeshMaterialProperties.h | |||
void Setup() |
Properties/MeshMaterialProperties.h | ||
void UpdateMaterials() |
Properties/MeshMaterialProperties.h | ||
| Properties/MeshMaterialProperties.h |
Overridden from UInteractiveToolPropertySet
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RestoreProperties
(
UInteractiveTool* RestoreToTool, |
Needs custom restore in order to call setup. | Properties/MeshMaterialProperties.h |