ControllerNativeCommandManager

Manages native commands for controlling object3D with different modes and options.

Constructor

new ControllerNativeCommandManager()

Classes

ControllerNativeCommandManager

Members

_clickListener :function

Type:
  • function

_currentMode :string

Type:
  • string

(static) MODE

Different controller mode to move game object3d @see NativeCommandManager which will receive commands

Methods

controls(object3DUUID, mode, options)

Add native commands in input manager @see NativeCommandManager of @ud-viz/game_shared_template

Parameters:
NameTypeDescription
object3DUUIDstring

uuid of the object3D to contol

modeobject

which mode to controls object3D @see ControllerNativeCommandManager.MODE

optionsobject

options

Properties
NameTypeAttributesDefaultDescription
withMapboolean<optional>
true

z is not compute with map

removeControls()

Remove native commands in input manager