format
typescript
Camera.depthclass: Camera
description
The depth of the camera in the camera rendering order.
Cameras with lower depth are rendered before cameras with higher depth. If there are multiple cameras and some cameras do not cover the entire screen, this property can be used to control the drawing order of the cameras.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The depth of the current camera in the rendering order. |
code example
javascript
