Physics2D.DefaultRaycastLayers
static var DefaultRaycastLayers: int;
static int DefaultRaycastLayers;
static DefaultRaycastLayers as int
Description

Layer mask constant that includes all layers participating in raycasts by default.

The value of the mask is the bitwise complement of the IgnoreRaycastLayer mask.

See Also: Raycast, IgnoreRaycastLayer, AllLayers.