IFClite TypeScript API
    Preparing search index...

    Type Alias SceneCaptureCallback

    SceneCaptureCallback: (
        snapshot: SceneSnapshot,
        sources: readonly MeshData[],
        sceneUnchanged: () => boolean,
    ) => void

    The finished scene at the finalize swap, the mesh each piece was queued from (by ordinal), and a check that the flat scene is still that scene: no bucket dirty and every captured bucket still drawing the batch it was captured from. An edit that moves, removes or re-buckets a piece fails it.

    Type Declaration

      • (
            snapshot: SceneSnapshot,
            sources: readonly MeshData[],
            sceneUnchanged: () => boolean,
        ): void
      • Parameters

        Returns void