Get Culling Mask

Camera
Server Side
Both Mobile and PC

Get the target camera layer mask

Declaration

func GetCullingMask(camera entity<Camera>) List<int>
go

Parameters

Input

Name Type Description
Camera CameraConfig Target Camera Entity

Return

Type Description
ListT_Int Layer mask, only the layers within the layer mask will be displayed in the target camera