Skip to content

createAssetStage beta ​

Function of @v12-engine/editor

ts
export declare function createAssetStage(make: () => Promise<AssetStageLike>): {
    state: import("solid-js").Accessor<AssetStageState>;
    show(model: ModelDef | undefined): Promise<void>;
    dispose(): void;
};

The stage of the Assets panel's details (AssetStageLike, made by make the first time a model is shown): a model shown on it (show), framed to be seen whole, in the place of the one before; nothing shown, and nothing drawn, for none. One model after the other: one picked while another loads is shown after it, and the one between not at all