Skip to main content

disableKeyboard

Typeboolean
Defaultfalse
Added inv4.0.0

Disable keyboard rotation.

Example

Here's an example of preventing rotation using a keyboard.

{
rotate: {
disableKeyboard: true
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}