Declaration
func SetCullingMaskLayer(camera entity<Camera>, layer int, visible bool)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| 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
| Name | Type | Description |
|---|---|---|
| Camera | CameraConfig | Target Camera Entity |
| Layer | Int | Visibility Level |
| Visible | Bool | Is Visible |