initialYaw
Initial yaw(Y-axis rotation) value.
If the absolute value is in the range of 0-180,
The viewer will look to the left if initialYaw > 0 and to the right if initialYaw < 0.
There is no restriction on the numerical range, but it is stored within the range of 0~360 when actual yaw
is set.
For example, 300
is used for -60
and 60
for 420
as the actual value.
Example
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
initialYaw: 60,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
initialYaw: -60,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}