pitch
Initial X-axis rotation of the camera, in degrees.
Should be a value from -90 to 90.
Use view3D.camera.pitch instead if you want current pitch value.
Example
pitch: 0 (default)
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
pitch: 0
}
pitch: -45
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
pitch: -45
}
pitch: 45
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
pitch: 45
}