Methods
Settings

setCameraSettings

Sets the simulated camera settings.

This method supersedes the deprecated methods fieldOfView and setFieldOfView.

Example



Usage

JS


Parameters

cameraSettings

Simulated camera settings.

Type

Required

Object

Yes

Properties

Name

Type

Required

Description

far

Number

No

Camera frustum far plane distance in meters

fov

Number

No

Camera frustum vertical field of view in degrees

near

Number

No

Camera frustum near plane distance in meters