Component:DevTool

From Resonite Wiki
Component image 
Dev Tool component as seen in the Scene Inspector

Detailed information can be located at Dev Tool.

Fields

Fields
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. Some components stop their functionality when this field is disabled, but some don't.
_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 See Interaction section.
_selectedAnchor PointAnchor 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.
_material reference drive of OverlayFresnelMaterial The visual material used for the default cone mesh.
_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

Triggers
Method Name Method type and Arguments. Description
SelectParent() Action Switches the gizmo to the parent Slot, and deletes the old gizmo.
ToggleSpace() Action toggles the gizmo orientation between global and local.
SetTranslation() Action Sets the currently targeted gizmo to Translation
SetRotation() Action Sets the currently targeted gizmo to rotation.
SetScale() Action Sets the currently targeted gizmo to scaling.

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.

See Also