IFClite TypeScript API
    Preparing search index...

    Function reorderSnapshotPieces

    • The snapshot with its piece ordinals moved from the order the pieces were queued in to the order target lists their meshes, which is the order a reopen decodes and hydrates them in. sources[ordinal] is each piece's mesh, as the capture reported it. Meshes of target that were never queued (a hidden type) are skipped, as a hydrating reopen skips them. Null when target is missing a queued mesh, so hydration could only refuse the result.

      Parameters

      Returns SceneSnapshot | null