ignoreRoll
If true
, ignore the roll(Z-axis rotation) value of the gyroscope input.
caution
If you set this value to 'false', it will ignore the camera range constraint.
Options such as yawRange and pitchRange will be ignored, and also CylinderProjection's range will be ignored.
Example
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
gyro: {
ignoreRoll: true
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
gyro: {
ignoreRoll: false
},
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}