API

Class FreeCameraMouseInput

Manage the mouse inputs to control the movement of a free camera.

Implements

Index
angularSensibility: number = 2000.0

Defines the pointer angular sensibility along the X and Y axis or how fast is the camera rotating.

buttons: number[] = ...

Defines the buttons associated with the input to handle camera move.

camera: FreeCamera

Defines the camera the input is attached to.

onPointerMovedObservable: Observable<{ offsetX: number; offsetY: number }> = ...

Observable for when a pointer move event occurs containing the move offset

touchEnabled: boolean = true

[true] Define if touch is enabled in the mouse input