pointerScale
Scale factor of the rotation via mouse or touch.
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.
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
rotate: {
pointerScale: [
2,
0.5
]
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}