Set Culling Mask

Camera
Server Side
Both Mobile and PC

Set the target camera layer mask

Declaration

func SetCullingMask(camera entity<Camera>, cullingMask List<int>)
go

Parameters

Input

Name Type Description
Camera CameraConfig Target Camera Entity
Culling Mask ListT_Int Layer mask, only filled layers will be displayed in the target camera, leaving it blank means all layers will be displayed