CameraCollisionSettings.occlusionMask


Declaration

public LayerMask occlusionMask

Description

The physics layers that are hit by the camera's raycasts, and thus determine the objects that the camera collides/occludes with. This generally should be the environment layer, which is usually recommended to be the "Default" layer.