|_material|{{RootFieldType|DriveRef`1|[[OverlayFresnelMaterial|OverlayFresnelMaterial]]}}|TypeAdv11=true| The visual material used for the default cone mesh.
|_currentGizmo|Slot| The gizmo that the dev tool is currently targeting for gizmo options.
|_currentGizmo|Slot| The gizmo that the dev tool is currently targeting for gizmo options.
|_previousGizmo|Slot| The previous gizmo that the dev tool targeted for gizmo options.
|_previousGizmo|Slot| The previous gizmo that the dev tool targeted for gizmo options.
Line 25:
Line 25:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|SelectParent()|[[Type:Action|Action]]|
|SelectParent()|[[Type:Action|Action]]| Switches the gizmo to the parent Slot, and deletes the old gizmo.
|ToggleSpace()|[[Type:Action|Action]]|
|ToggleSpace()|[[Type:Action|Action]]| toggles the gizmo orientation between global and local.
|SetTranslation()|[[Type:Action|Action]]|
|SetTranslation()|[[Type:Action|Action]]| Sets the currently targeted gizmo to Translation
|SetRotation()|[[Type:Action|Action]]|
|SetRotation()|[[Type:Action|Action]]| Sets the currently targeted gizmo to rotation.
|SetScale()|[[Type:Action|Action]]|
|SetScale()|[[Type:Action|Action]]| Sets the currently targeted gizmo to scaling.
}}
}}
Line 35:
Line 35:
{{Template:DevTool_Selection}}
{{Template:DevTool_Selection}}
== Behavior ==
== Interaction ==
The DevTool component can be used on it's own to create a [[Dev Tool|Developer Tool]] or be used in a [[Component:ToolMultiplexer|ToolMultiplexer]] to create a MultiTool.
{{Template:DevTool_Interaction}}
== Examples ==
== Examples ==
The DevTool component can be used on it's own to create a [[Dev Tool|Developer Tool]] or be used in a [[Component:ToolMultiplexer|ToolMultiplexer]] to create a MultiTool.
== See Also ==
== See Also ==
Line 45:
Line 46:
[[Category:Components{{#translation:}}|Dev Tool]]
[[Category:Components{{#translation:}}|Dev Tool]]
[[Category:Components With Nested Enums{{#translation:}}|Dev Tool]]
[[Category:Components With Nested Enums{{#translation:}}|Dev Tool]]
The previous gizmo that the dev tool targeted for gizmo options.
Sync Delegates
Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).
Triggers
Method Name
Method type and Arguments.
Is the method hidden?
Description
Selection
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.