public void SetLayerMask (LayerMask layerMask);

Parameters

layerMaskThe value used to set the layerMask.

Description

Sets the layerMask filter property using the layerMask parameter provided and also enables layer mask filtering by setting useLayerMask to true.