Manages the mouse inputs to control the movement of a PivotTargetCamera.
Defines the buttons associated with the input to handle camera move. Left mouse button is used as default for Rotation. 0: No button or un-initialized 1: Primary button (usually the left button) 2: Secondary button (usually the right button) 4: Auxiliary button (usually the mouse wheel button or middle button) 8: 4th button (typically the "Browser Back" button) 16 : 5th button (typically the "Browser Forward" button) A button number can represent multiple buttons. For example button left and right is represented by 1 + 2 = 3.
Defines the camera the input is attached to.
Observable for when a pointer move event occurs containing the move offset
Attaches the input controls to a specific dom element to get the input from.
OptionalnoPreventDefault: booleanDefines whether event caught by the controls should call preventdefault() (https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)
Detaches the current controls from the specified DOM element.
Gets the class name of the current input.
the class name
Gets the friendly name associated with the input class.
the input friendly name
ProtectedonIs called by JS contextmenu event. Override this method to provide functionality.
Manage the mouse inputs to control the movement of a PivotTargetCamera.
See
http://doc.babylonjs.com/how_to/customizing_camera_inputs