UnityEngine.Physics2D.GetRayIntersectionNonAlloc C# (CSharp) Method

GetRayIntersectionNonAlloc() private method

private GetRayIntersectionNonAlloc ( Ray ray, RaycastHit2D results ) : int
ray Ray
results RaycastHit2D
return int
        public static int GetRayIntersectionNonAlloc(Ray ray, RaycastHit2D[] results)
        {
            int layerMask = -5;
            float positiveInfinity = float.PositiveInfinity;
            return INTERNAL_CALL_GetRayIntersectionNonAlloc(ref ray, results, positiveInfinity, layerMask);
        }

Same methods

Physics2D::GetRayIntersectionNonAlloc ( Ray ray, RaycastHit2D results, [ distance, [ layerMask ) : int
Physics2D::GetRayIntersectionNonAlloc ( Ray ray, RaycastHit2D results, float distance ) : int
Physics2D