Documentation - v19.12.0-dev
    Preparing search index...
    • Sorts raycast intersections so that sprites take priority over anchors, anchors over measure line segments, and scene sprites over regular meshes, falling back to distance otherwise.

      Parameters

      Returns number

      A negative number if a should come first, positive if b should, 0 if tied.