Skip to main content

RotateControlOptions

Since version 4.0.0

Options for RotateControl

interface RotateControlOptions

Properties

Disable rotation by keyboard.

Disable X-axis(pitch) rotation.

Disable Y-axis(yaw) rotation.

Duration of the input animation (ms)

Scale factor for keyboard rotation

Scale factor for mouse/touch rotation

Properties

disableKeyboard

disableKeyboard

boolean

false

Disable rotation by keyboard.

disablePitch

disablePitch

boolean

false

Disable X-axis(pitch) rotation.

disableYaw

disableYaw

boolean

false

Disable Y-axis(yaw) rotation.

duration

duration

number

300

Duration of the input animation (ms)

easing

easing

((x: number) => number)

keyboardScale

>=4.0.0
keyboardScale

[number,number]

[1, 1]

Scale factor for keyboard rotation

pointerScale

>=4.0.0
pointerScale

[number,number]

[1, 1]

Scale factor for mouse/touch rotation