Methods
Settings
setCameraSettings
Sets the simulated camera settings.
This method supersedes the deprecated methods fieldOfView and setFieldOfView.
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 |
Updated 13 Sep 2024
Did this page help you?