Skip to content

format

typescript
Camera.cullingMask

class: 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_nametypedescription

reture

typedescription
numberThe cullingMask of the camera.

code example

javascript