Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Material settings for mesh inspector tool
| Name | UMeshInspectorMaterialProperties |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/MeshInspectorTool.h |
| Include Path | #include "MeshInspectorTool.h" |
Syntax
UCLASS (MinimalAPI)
class UMeshInspectorMaterialProperties : public UInteractiveToolPropertySet
Inheritance Hierarchy
- FWatchablePropertySet → UInteractiveToolPropertySet → UMeshInspectorMaterialProperties
- UObjectBase → UObjectBaseUtility → UObject → UInteractiveToolPropertySet → UMeshInspectorMaterialProperties
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveCustomMaterial | TObjectPtr< UMaterialInstanceDynamic > | MeshInspectorTool.h |
|
|
| bFlatShading | bool | Toggle flat shading on/off | MeshInspectorTool.h |
|
| bTwoSided | bool | Although a two-sided transparent material causes rendering issues with overlapping faces, it is still frequently useful to see the shape when sculpting around other objects. | MeshInspectorTool.h |
|
| CheckerMaterial | TObjectPtr< UMaterialInstanceDynamic > | MeshInspectorTool.h |
|
|
| Color | FLinearColor | Main Color of Material | MeshInspectorTool.h |
|
| MaterialMode | EMeshInspectorMaterialMode | Material that will be used to render the mesh | MeshInspectorTool.h |
|
| meta | Number of checkerboard tiles within the 0 to 1 range; only available when Checkerboard is selected as material mode | MeshInspectorTool.h |
|
|
| Opacity | double | Opacity of transparent material | MeshInspectorTool.h |
|
| OverrideMaterial | TObjectPtr< UMaterialInterface > | Material to use instead of the original material; only available when Override is selected as material mode | MeshInspectorTool.h |
|
| TransparentMaterialColor | FLinearColor | MeshInspectorTool.h |
|
|
| UVChannelNamesList | TArray< FString > | MeshInspectorTool.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInterface * GetActiveOverrideMaterial() |
MeshInspectorTool.h | ||
| MeshInspectorTool.h | |||
void Setup() |
MeshInspectorTool.h | ||
void UpdateMaterials() |
MeshInspectorTool.h | ||
| MeshInspectorTool.h |
Overridden from UInteractiveToolPropertySet
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void RestoreProperties
(
UInteractiveTool* RestoreToTool, |
Needs custom restore in order to call setup. | MeshInspectorTool.h |