keyboardScale
Scale factor of the rotation via keyboard.
The values are [Scale of left/right movement (=yaw), Scale of up/down movement (= pitch)]
.
Example
Below is an example of setting the yaw scale and the pitch scale by 2 and 0.5 each.
Only applied for the keyboard rotation.
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
rotate: {
keyboardScale: [
2,
0.5
]
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}