Set Custom Camera Culling Mask Layer

Camera
Both Server and Client
Both Mobile and PC

Set the visibility of the target camera for a specific layer

Declaration

func SetCustomCameraCullingMaskLayer(target entity<CustomCamera>, layer int, visible bool)
go

Parameters

Input

Name Type Description
Target BasicCamera Target Camera Entity
Layer Int Visibility Level
Visible Bool Is Visible