Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveToolPropertySet
- UMeshInspectorMaterialProperties
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/MeshInspectorTool.h |
| Include | #include "MeshInspectorTool.h" |
Syntax
UCLASS&40;&41;
class UMeshInspectorMaterialProperties : public UInteractiveToolPropertySet
Remarks
Material settings for mesh inspector tool
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMaterialInstanceDynamic > | ActiveCustomMaterial | ||
| bool | bFlatShading | Toggle flat shading on/off | |
| bool | bTwoSided | 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. | |
| TObjectPtr< UMaterialInstanceDynamic > | CheckerMaterial | ||
| FLinearColor | Color | Main Color of Material | |
| EMeshInspectorMaterialMode | MaterialMode | Material that will be used to render the mesh | |
| meta | Number of checkerboard tiles within the 0 to 1 range; only available when Checkerboard is selected as material mode | ||
| double | Opacity | Opacity of transparent material | |
| TObjectPtr< UMaterialInterface > | OverrideMaterial | Material to use instead of the original material; only available when Override is selected as material mode | |
| FLinearColor | TransparentMaterialColor | ||
| TArray< FString > | UVChannelNamesList |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMaterialInterface * | |||
| const TArray< FString > & | |||
| void | Setup () |
||
| void | |||
| void | UpdateUVChannels
(
int32 UVChannelIndex, |
Overridden from UInteractiveToolPropertySet
| Type | Name | Description | |
|---|---|---|---|
| void | RestoreProperties
(
UInteractiveTool* RestoreToTool, |
Needs custom restore in order to call setup. |