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
disableKeyboardboolean
false
Disable rotation by keyboard.
disablePitch
disablePitchboolean
false
Disable X-axis(pitch) rotation.
disableYaw
disableYawboolean
false
Disable Y-axis(yaw) rotation.
duration
durationnumber
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