API

Class FreeCameraKeyboardMoveInput

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

Implements

Index
camera: FreeCamera

Defines the camera the input is attached to.

keysDown: number[] = ...

Gets or Set the list of keyboard keys used to control the backward move of the camera.

keysDownward: number[] = ...

Gets or Set the list of keyboard keys used to control the downward move of the camera.

keysLeft: number[] = ...

Gets or Set the list of keyboard keys used to control the left strafe move of the camera.

keysRight: number[] = ...

Gets or Set the list of keyboard keys used to control the right strafe move of the camera.

keysRotateDown: number[] = []

Gets or Set the list of keyboard keys used to control the down rotation move of the camera.

keysRotateLeft: number[] = []

Gets or Set the list of keyboard keys used to control the left rotation move of the camera.

keysRotateRight: number[] = []

Gets or Set the list of keyboard keys used to control the right rotation move of the camera.

keysRotateUp: number[] = []

Gets or Set the list of keyboard keys used to control the up rotation move of the camera.

keysUp: number[] = ...

Gets or Set the list of keyboard keys used to control the forward move of the camera.

keysUpward: number[] = ...

Gets or Set the list of keyboard keys used to control the upward move of the camera.

rotationSpeed: number = 0.5

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