IFClite TypeScript API
    Preparing search index...

    Interface GaussianSplatApi

    The internal adapter surface reachable through Renderer.gaussianSplats.

    interface GaussianSplatApi {
        add(
            input: GaussianSplatAssetInput | GaussianSplatRowsInput,
            options: GaussianSplatAddOptions,
        ): Promise<GaussianSplatHandle>;
        clear(): void;
        getBounds(handle?: GaussianSplatHandle): GaussianSplatBounds | null;
        getState(handle: GaussianSplatHandle): GaussianSplatState;
        getStats(): GaussianSplatStats;
        remove(handle: GaussianSplatHandle): boolean;
        setCompositionMode(mode: GaussianCompositionMode): void;
        setPlacement(
            handle: GaussianSplatHandle,
            placement: GaussianSplatPlacement,
        ): Promise<boolean>;
        setVisible(handle: GaussianSplatHandle, visible: boolean): boolean;
        translateFrame(delta: readonly [number, number, number]): Promise<boolean>;
    }
    Index
    • Returns void

    • Translate the entire render frame and its f64 anchor; packed local rows stay unchanged.

      Parameters

      • delta: readonly [number, number, number]

      Returns Promise<boolean>