Skip to main content

yawRange

Type{ min: number, max: number } | null
Defaultnull
Added inv4.0.0

Limits the camera's Y-axis rotation range to the given value.

Example

{
yawRange: {
min: -60,
max: 60
},
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"
],
})
}