Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/Utility
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UScriptableToolContextObject
- UScriptableToolViewportWidgetAPI
References
| Module | ScriptableToolsFramework |
| Header | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/Utility/ScriptableToolContextObjects.h |
| Include | #include "Utility/ScriptableToolContextObjects.h" |
Syntax
UCLASS ()
class UScriptableToolViewportWidgetAPI : public UScriptableToolContextObject
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Initialize
(
TUniqueFunction< void(TSharedRef< SWidget > InOverlaidWidget)> ReplaceOverlaidWidgetFuncIn, |
||
| void | SetOverlayWidget
(
TSharedRef< SWidget > InOverlaidWidget |
Overridden from UScriptableToolContextObject
| Type | Name | Description | |
|---|---|---|---|
| void | OnToolEnded
(
UInteractiveTool* DeadTool |
Called whenever a tool is ended, for instance to let a context object remove listeners associated with that tool (it shouldn't have to do so, but may choose to for robustness). | |
| void | Shutdown () |
Called by the mode when shutting context objects down, allowing them to do any cleanup. |