|_selectedAnchor|'''[[Component:PointAnchor|PointAnchor]]'''|TypeAdv9=true| The point anchor which is part of a gizmo this tool is moving currently.
|_selectedAnchor|'''[[Component:PointAnchor|PointAnchor]]'''|TypeAdv9=true| The point anchor which is part of a gizmo this tool is moving currently.
|_selectedAnchorHighlight|Slot| The slot being used to indicate what gizmo is currently being moved. Is an icosphere.
|_selectedAnchorHighlight|Slot| The slot being used to indicate what gizmo is currently being moved. Is an icosphere.
Line 25:
Line 25:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|SelectParent()|[[Type:Action|Action]]| Switches the gizmo to the parent Slot, and deletes the old gizmo.
|ToggleDevMode:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|ToggleSpace()|[[Type:Action|Action]]| toggles the gizmo orientation between global and local.
|DeselectAll:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|SetTranslation()|[[Type:Action|Action]]| Sets the currently targeted gizmo to Translation
|OpenCreate:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|SetRotation()|[[Type:Action|Action]]| Sets the currently targeted gizmo to rotation.
|OpenInspector:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|SetScale()|[[Type:Action|Action]]| Sets the currently targeted gizmo to scaling.
|OpenGizmoOptions:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|SelectParent:[[Type:Action|Action]]|[[Type:Action|Action]]|false| See [[Dev Tool]].
|ToggleSpace:[[Type:Action|Action]]|[[Type:Action|Action]]|false| See [[Dev Tool]].
|SetTranslation:[[Type:Action|Action]]|[[Type:Action|Action]]|false| See [[Dev Tool]].
|SetRotation:[[Type:Action|Action]]|[[Type:Action|Action]]|false| See [[Dev Tool]].
|SetScale:[[Type:Action|Action]]|[[Type:Action|Action]]|false| See [[Dev Tool]].
|OnOpenParent:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|SetTranslation:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|SetRotation:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|SetScale:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|ActivateGizmo:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Component|Component]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:Component|Component]]>|true| See [[Dev Tool]].
|DestroySelected:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|DestroyConfirm:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|OnCancelMenu:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| See [[Dev Tool]].
|OnGizmoReplaced:[[Component:SlotGizmo#SlotGizmoReplacement|SlotGizmo.SlotGizmoReplacement]]|[[Component:SlotGizmo#SlotGizmoReplacement|SlotGizmo.SlotGizmoReplacement]]|true| See [[Dev Tool]].
Selection: Sets the selection mode for the tool (select by using the secondary action):
Single: Select single object. Selecting an unselected object deselects any other selected object. Selecting a selected object unselects that object.
Multi: Select multiple objects. Selecting an unselected object adds that object to the selected objects. Selecting a selected object unselects that object.
Interaction
Interaction: What gizmo transformation should be relative to:
Tip: Gizmo transformation is relative to the tool's tip.
Projection: Gizmo transformation is relative to the projected point.
Examples
The DevTool component can be used on it's own to create a Developer Tool or be used in a ToolMultiplexer to create a MultiTool.