Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/IToolHostCustomizationAPI
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ToolHostCustomizationAPI.h |
| Include | #include "ToolHostCustomizationAPI.h" |
Syntax
struct FAcceptCancelButtonOverrideParams
Variables
| Type | Name | Description | |
|---|---|---|---|
| TFunction< bool()> | CanAccept | If this returns false, the accept button is not clickable. | |
| TOptional< FName > | IconName | The host will try to look up an icon with this name in its style sheet. | |
| FText | Label | Label to use to show that the buttons now control a sub action. | |
| TFunction< void(bool)> | OnAcceptCancelTriggered | Function to be called when the accept/cancel buttons are clicked. | |
| TOptional< FText > | OverrideAcceptButtonText | ||
| TOptional< FText > | OverrideAcceptButtonTooltip | ||
| TOptional< FText > | OverrideCancelButtonText | ||
| TOptional< FText > | OverrideCancelButtonTooltip |