Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- USingleSelectionTool
- UMeshSurfacePointTool
- UBaseBrushTool
- UDynamicMeshBrushTool
- UMeshSelectionTool
- UEditMeshMaterialsTool
References
| Module | MeshModelingToolsEditorOnlyExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/EditMeshMaterialsTool.h |
| Include | #include "EditMeshMaterialsTool.h" |
Syntax
UCLASS&40;&41;
class UEditMeshMaterialsTool : public UMeshSelectionTool
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHaveModifiedMaterials | ||
| bool | bHavePendingSubAction | ||
| bool | bShowingMaterialSetError | ||
| bool | bShowingNotEnoughMaterialsError | ||
| TArray< UMaterialInterface * > | CurrentMaterials | ||
| FMaterialSetKey | InitialMaterialKey | ||
| TObjectPtr< UEditMeshMaterialsToolProperties > | MaterialProps | ||
| EEditMeshMaterialsToolActions | PendingSubAction |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyMaterialAction
(
EEditMeshMaterialsToolActions ActionType |
||
| void | |||
| void | ExternalUpdateMaterialSet
(
const TArray< UMaterialInterface* >& NewMaterialSet |
||
| FMaterialSetKey | |||
| void | |||
| void | RequestMaterialAction
(
EEditMeshMaterialsToolActions ActionType |
Overridden from UMeshSelectionTool
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | ApplyShutdownAction
(
EToolShutdownType ShutdownType |
||
| UMeshSelectionToolActionPropertySet * |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
Virtual bool CanAccept() const override { return Super::CanAccept() && bHaveModifiedMesh; } | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | RegisterActions
(
FInteractiveToolActionSet& ActionSet |
Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. | |
| void | Setup () |
UInteractiveTool. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMaterialSetKey |