Skip to content

format

typescript
Camera.aspect

class: Camera

description

The aspect ratio of the camera (width divided by height).

By default, the aspect ratio is automatically calculated based on the screen's width and height.

parameter

param_nametypedescription

reture

typedescription
numberThe aspect ratio of the camera.

code example

javascript