Interface: OrbitOptions
WebSG.OrbitOptions
Interface representing the options for configuring an orbiting camera control mode.
Table of contents
Properties
Properties
pitch
• Optional
pitch: number
The pitch angle in degrees, which is the rotation around the X-axis. Positive values tilt the camera upwards, while negative values tilt it downwards.
Defined in
yaw
• Optional
yaw: number
The yaw angle in degrees, which is the rotation around the Y-axis. Positive values rotate the camera to the right, while negative values rotate it to the left.
Defined in
zoom
• Optional
zoom: number
The zoom value, which is a scalar factor for the distance from the object. Positive values move the camera closer to the object, while negative values move it further away.