Navigation
API > API/Plugins > API/Plugins/ModelingToolsEditorMode
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UModelingToolsHostCustomizationAPI
References
| Module | ModelingToolsEditorMode |
| Header | /Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingToolsHostCustomizationAPI.h |
| Include | #include "ModelingToolsHostCustomizationAPI.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UModelingToolsHostCustomizationAPI :
public UObject ,
public IToolHostCustomizationAPI
Remarks
An implementation of IToolHostCustomizationAPI meant to be used with modeling tools editor mode. Mostly it just forwards the relevant requests to the mode toolkit, which changes its accept/cancel/complete overlay buttons temporarily (until the next click of those buttons).
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< FModelingToolsEditorModeToolkit > | Toolkit |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Deregister
(
UInteractiveToolsContext* ToolsContext |
Helper to deregister the UModelingToolsHostCustomizationAPI from the context store | |
| UModelingToolsHostCustomizationAPI * | Register
(
UInteractiveToolsContext* ToolsContext, |
Helper to create, initialize, and register a UModelingToolsHostCustomizationAPI object with the context store |
Overridden from IToolHostCustomizationAPI
| Type | Name | Description | |
|---|---|---|---|
| void | Remove any requested button customizations. | ||
| bool | RequestAcceptCancelButtonOverride
(
FAcceptCancelButtonOverrideParams& Params |
Requests that a tool host's tool shutdown buttons be temporarily overriden to an accept/cancel pair that accepts/cancels some sub action. | |
| bool | RequestCompleteButtonOverride
(
FCompleteButtonOverrideParams& Params |
Requests that a tool host's shutdown buttons be temporarily overriden to a complete button that completes some sub action. | |
| bool | If true, the tool host is able to override its tool shutdown buttons to custom accept/cancel buttons. | ||
| bool |