• Returns a store, creates it if necessary.

    Parameters

    • Optional pinia: null | Pinia

      Pinia instance to retrieve the store

    • Optional hot: StoreGeneric

      dev only hot module replacement

    Returns Store<"babylon", _UnwrapAll<Pick<{
        instance: ShallowRef<undefined | {
            dispose: (() => void);
            engine: Engine;
            scene: Scene;
            vrmScene: Scene;
        }>;
        setInstance: ((babylon) => void);
    }, "instance">>, Pick<{
        instance: ShallowRef<undefined | {
            dispose: (() => void);
            engine: Engine;
            scene: Scene;
            vrmScene: Scene;
        }>;
        setInstance: ((babylon) => void);
    }, never>, Pick<{
        instance: ShallowRef<undefined | {
            dispose: (() => void);
            engine: Engine;
            scene: Scene;
            vrmScene: Scene;
        }>;
        setInstance: ((babylon) => void);
    }, "setInstance">>

Properties

Properties

$id: "babylon"

Id of the store. Used by map helpers.

Generated using TypeDoc