Version: 2019.3
public int maxRayIntersections ;

説明

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.