Set Custom Camera Culling Mask

Camera
Both Server and Client
Both Mobile and PC

Set the culling mask of the target camera to control visibility across all layers

Declaration

func SetCustomCameraCullingMask(target entity<CustomCamera>, cullingMask List<int>)
go

Parameters

Input

Name Type Description
Target BasicCamera 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