BaseToolDispatcher.kl

Types

BaseToolDispatcher (object)

Members

Boolean enabled Handler is enabled.
Key enableKey Enable key.
HandlerExclusivity handlerExclusivity Handler exclusivity.
Boolean isIndependent HandlerExclusivity local override.
Boolean takeAllEvents It true, the handler takes all the events.
Boolean alwaysEnabled It true, the handler takes all the events.
Boolean isOwnedByDispatcher Checks if the handler is owned by a handlerDispatcher. In most of the cases, the dispatcher owns the handlers. However, it’s not true in DFG graphs where the handlers are owns by the nodes.
Ref<HandlerDispatcher> dispatcher Reference to the dispatcher.
Ref<BaseHandler>[String] handlers Dictionary of reference to all the registered handlers.
BaseHandler[String] ownedHandlers Dictionary of owned handlers.
Ref<BaseTool> rayCastActiveTool Current selected tool from rayCast.
Ref<SelectionTool> selectionTool Reference to the SelectionTool.

Methods

  BaseToolDispatcher ( in BaseToolDispatcher other )
  BaseToolDispatcher ()
  activateHandlers ! ( io Key key, io Boolean switchDisableNone, io Boolean switchDisableOthers, io Boolean switchDisableAll, io Boolean isAccepted )
BaseToolDispatcher clone ? ()
Ref<Tool> getActiveToolFromRayCast ! ( io MouseEvent event )
Ref<SelectionTool> getSelectionTool ? ()
  init ! ( in Ref<SelectionTool> selectionTool, in Key enableKey, in Boolean isOwnedByDispatcher )
  processMouseEvent ! ( io Event event )
  sceneChanged ! ()
  updateTargetSelection ! ()
  ~BaseToolDispatcher ()