API

Class FollowCameraKeyboardMoveInput

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

Implements

Index
camera: FollowCamera

Defines the camera the input is attached to.

heightSensibility: number = 1

Defines the rate of change of heightOffset.

keysHeightOffsetDecr: number[] = ...

Defines the list of key codes associated with the down action (decrease heightOffset)

keysHeightOffsetIncr: number[] = ...

Defines the list of key codes associated with the up action (increase heightOffset)

keysHeightOffsetModifierAlt: boolean = false

Defines whether the Alt modifier key is required to move up/down (alter heightOffset)

keysHeightOffsetModifierCtrl: boolean = false

Defines whether the Ctrl modifier key is required to move up/down (alter heightOffset)

keysHeightOffsetModifierShift: boolean = false

Defines whether the Shift modifier key is required to move up/down (alter heightOffset)

keysRadiusDecr: number[] = ...

Defines the list of key codes associated with the zoom-out action (increase radius)

keysRadiusIncr: number[] = ...

Defines the list of key codes associated with the zoom-in action (decrease radius)

keysRadiusModifierAlt: boolean = true

Defines whether the Alt modifier key is required to zoom in/out (alter radius value)

keysRadiusModifierCtrl: boolean = false

Defines whether the Ctrl modifier key is required to zoom in/out (alter radius value)

keysRadiusModifierShift: boolean = false

Defines whether the Shift modifier key is required to zoom in/out (alter radius value)

keysRotationOffsetDecr: number[] = ...

Defines the list of key codes associated with the right action (decrease rotationOffset)

keysRotationOffsetIncr: number[] = ...

Defines the list of key codes associated with the left action (increase rotationOffset)

keysRotationOffsetModifierAlt: boolean = false

Defines whether the Alt modifier key is required to move left/right (alter rotationOffset)

keysRotationOffsetModifierCtrl: boolean = false

Defines whether the Ctrl modifier key is required to move left/right (alter rotationOffset)

keysRotationOffsetModifierShift: boolean = false

Defines whether the Shift modifier key is required to move left/right (alter rotationOffset)

radiusSensibility: number = 1

Defines the rate of change of radius.

rotationSensibility: number = 1

Defines the rate of change of rotationOffset.