Skip to main content

initialPitch

Typenumber
Default0
Added inv4.0.0

Initial pitch(X-axis rotation) value.
Look up if initialPitch > 0 and down if initialPitch < 0.

A value between -90 and 90 must be used.
Values beyond that range are clamped into the range.

Example

{
initialPitch: 45,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
{
initialPitch: -45,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}