Version: 2019.2
public int maxRayIntersections ;

Description

Max number of ray intersection allowed to be found.

A value of zero will represent using the allocating version of the raycast function where as any other value will use the non allocating version.