babylon.quarks - v1.0.0
    Preparing search index...

    Function quarksTransparentSortCompare

    • Babylon's default transparent compare (RenderingGroup.defaultTransparentSortCompare) with quarksSortDistance for the distance: by alpha index, then back to front, and two draws of the renderer at one key in the renderer's order. Other meshes sort exactly as Babylon sorts them.

      Parameters

      • a: SubMesh
      • b: SubMesh

      Returns number