new MouseArrow()
Creates a new arrow indicator for simulating the mouse arrow.
Extends
- THREE.Mesh
Members
-
:boolean
isPointerArrow <readonly>
-
A flag identifying this object as a pointer arrow.
Type
- boolean
Methods
-
buttonDown(button, state)
-
Displays a button as pressed.
Parameters:
Name Type Description buttonPD.MOUSE_BTN The button to show as pressed.
stateboolean Whether to press (true) or release (false) the button.
-
isButtonDown( [button], state)
-
Displays a button as pressed.
Parameters:
Name Type Argument Default Description buttonPD.MOUSE_BTN <optional>
0 The button to check, defaults to any button.
stateboolean Whether to press (true) or release (false) the button.