template |
Automated: update DeDuplicate |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|Name=Dev Tool | |Name=Dev Tool | ||
}} | }} | ||
Detailed information can be located at [[Dev Tool]]. | |||
== Usage == | == Usage == | ||
Line 21: | Line 21: | ||
|_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. | ||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|SelectParent()|[[Type:Action|Action]]| | |||
|ToggleSpace()|[[Type:Action|Action]]| | |||
|SetTranslation()|[[Type:Action|Action]]| | |||
|SetRotation()|[[Type:Action|Action]]| | |||
|SetScale()|[[Type:Action|Action]]| | |||
}} | }} | ||
Line 27: | Line 36: | ||
== Behavior == | == Behavior == | ||
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. | |||
== Examples == | == Examples == | ||
Line 35: | Line 45: | ||
[[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]] | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] |
Latest revision as of 21:18, 6 November 2024
Component image
Detailed information can be located at Dev Tool.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
_equipLink
|
direct LinkTarget`1<ITool> | This is Internal, and is used by the engine to retrieve the component this field is a part of. It cannot be assigned to. |
TipReference
|
Slot | The slot to use as the tool's tip, instead of the component's slot. |
BlockGripEquip
|
Bool | Whether to prevent legacy double grip equipping from equipping this tooltip. |
BlockRemoteEquip
|
Bool | Whether to prevent equipping by clicking via laser |
EquipName
|
String | The name of the tool in the context menu when equipping via context menu. |
_overrideActiveTool
|
InteractionHandler | The interaction handler to use instead of this tool as an interaction handler. |
_gripPosesGenerated
|
Bool | Whether the Grip Pose Reference components and slots have been generated for this tool. |
SelectionMode
|
Selection | See Selection section |
InteractionMode
|
Interaction | |
_selectedAnchor
|
PointAnchor | |
_selectedAnchorHighlight
|
Slot | |
_material
|
direct DriveRef`1<OverlayFresnelMaterial> | |
_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. |
Sync Delegates
Name | Arguments | Description |
---|---|---|
SelectParent()
|
Action | |
ToggleSpace()
|
Action | |
SetTranslation()
|
Action | |
SetRotation()
|
Action | |
SetScale()
|
Action |
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.
Behavior
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.