pitchRange
Limits the camera's X-axis rotation range to the given value.
Example
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
pitchRange: {
min: -30,
max: 30
},
projection: new CubemapProjection({
src: [
"/pano/cube/FishermansBastion/posx.jpg",
"/pano/cube/FishermansBastion/negx.jpg",
"/pano/cube/FishermansBastion/posy.jpg",
"/pano/cube/FishermansBastion/negy.jpg",
"/pano/cube/FishermansBastion/posz.jpg",
"/pano/cube/FishermansBastion/negz.jpg"
],
})
}