Declaración
func SetCullingMaskLayer(camera entity<Camera>, layer int, visible bool)
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Camera | CameraConfig | Target Camera Entity |
Layer | Int | Visibility Level |
Visible | Bool | Is Visible |
Set whether the specified layer is visible to the target camera.
func SetCullingMaskLayer(camera entity<Camera>, layer int, visible bool)
go
Nombre | Tipo | Descripción |
---|---|---|
Camera | CameraConfig | Target Camera Entity |
Layer | Int | Visibility Level |
Visible | Bool | Is Visible |