UnityEngine.Physics2D.LinecastAll C# (CSharp) Method

LinecastAll() private method

private LinecastAll ( Vector2 start, Vector2 end ) : RaycastHit2D[]
start Vector2
end Vector2
return RaycastHit2D[]
        public static RaycastHit2D[] LinecastAll(Vector2 start, Vector2 end)
        {
            float positiveInfinity = float.PositiveInfinity;
            float negativeInfinity = float.NegativeInfinity;
            int layerMask = -5;
            return INTERNAL_CALL_LinecastAll(ref start, ref end, layerMask, negativeInfinity, positiveInfinity);
        }

Same methods

Physics2D::LinecastAll ( Vector2 start, Vector2 end, [ layerMask, [ minDepth, [ maxDepth ) : RaycastHit2D[]
Physics2D::LinecastAll ( Vector2 start, Vector2 end, int layerMask ) : RaycastHit2D[]
Physics2D::LinecastAll ( Vector2 start, Vector2 end, int layerMask, float minDepth ) : RaycastHit2D[]
Physics2D