Navigation
API > API/Plugins > API/Plugins/ScriptableToolsFramework > API/Plugins/ScriptableToolsFramework/UScriptableInteractiveTool
Description
Gizmo API
- option to register delegate for specific gizmo?
- some way to easily connect gizmo transform to a FTransform property? Create a Translate/Rotate/Scale Gizmo with the given Options at the specified InitialTransform. The Gizmo must be given a unique Identifier, which will be used to access it in other functions. The Gizmo can be explicitly destroyed with DestroyTRSGizmo(), or it will be automatically destroyed when the Tool exits
| Name | CreateTRSGizmo |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Public/ScriptableInteractiveTool.h |
| Include Path | #include "ScriptableInteractiveTool.h" |
| Source | /Engine/Plugins/Runtime/ScriptableToolsFramework/Source/ScriptableToolsFramework/Private/ScriptableInteractiveTool.cpp |
UFUNCTION (BlueprintCallable, Category="ScriptableTool|Gizmos",
Meta=(ExpandEnumAsExecs="Outcome", Identifier="Gizmo1"))
void CreateTRSGizmo
(
FString Identifier,
FTransform InitialTransform,
FScriptableToolGizmoOptions GizmoOptions,
EToolsFrameworkOutcomePins & Outcome
)