API

Interface FreeCameraControlOptions

Keyboard customization for attachConfigurableFreeControl.

interface FreeCameraControlOptions {
    downKeys?: readonly string[];
    fastKeys?: readonly string[];
    fastMultiplier?: number;
    upKeys?: readonly string[];
}
Index
downKeys?: readonly string[]

Vertical-down key codes. Defaults to ShiftLeft, ShiftRight, and PageDown.

fastKeys?: readonly string[]

Held key codes that multiply movement speed.

fastMultiplier?: number

Movement-speed multiplier while a fast key is held. Defaults to 1.

upKeys?: readonly string[]

Vertical-up key codes. Defaults to Space and PageUp.