zoomTo
Adjusts the camera's field of view (FOV) to the specified number of degrees. If the instant
parameter is set to true
, the FOV immediately transitions to the specified value; otherwise, it will be interpolated over time during updates.
Parameters
degrees
the target field of view (in degrees) for the camera
instant
whether the transition to the target FOV should occur instantly (default is false
)