format
typescript
Camera.cullingMaskclass: Camera
description
Used to selectively render certain parts of a scene.
If the layer of a GameObject and the cullingMask of a camera have a bitwise AND of zero, the game object will not be visible in that camera.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The cullingMask of the camera. |
code example
javascript
