Class ToolSwitcherShortcut

Handles keyboard events used, by default, to select tools. By default, 1 maps to the first primary tool, 2 to the second primary tool, ... .

This is in the default set of ToolController tools.

Hierarchy (View Summary)

Constructors

Properties

description: string

Methods

  • Called when the tool is removed/when the editor is destroyed. Subclasses that override this method must call super.onDestroy().

    Returns void

  • Returns true iff there are additional pointers down and the tool should remain active to handle the additional events.

    For most purposes, this should return false or nothing.

    Parameters

    Returns boolean | void

OpenSource licenses