@babylonjs-toolkit/next 9.34.1 → 9.34.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/scenemanager.d.ts +34 -0
- package/lib/scenemanager.d.ts.map +1 -1
- package/lib/scenemanager.js +193 -3
- package/package.json +1 -1
package/lib/scenemanager.d.ts
CHANGED
|
@@ -178,6 +178,7 @@ export declare class SceneManager {
|
|
|
178
178
|
static readonly DefaultLayerMask: number;
|
|
179
179
|
static readonly HiddenLayerMask: number;
|
|
180
180
|
private static _HideLoadingScreen;
|
|
181
|
+
private static _FadeLoadingScreen;
|
|
181
182
|
static CVTOOLS_NAME: string;
|
|
182
183
|
static CVTOOLS_MESH: string;
|
|
183
184
|
static CVTOOLS_HAND: string;
|
|
@@ -2391,6 +2392,39 @@ export declare class LoadingProgress {
|
|
|
2391
2392
|
private static HookSceneDispose;
|
|
2392
2393
|
private static ForgetScene;
|
|
2393
2394
|
}
|
|
2395
|
+
export interface ILoadingScreenStageView {
|
|
2396
|
+
screen: HTMLElement;
|
|
2397
|
+
stage: HTMLElement;
|
|
2398
|
+
status: HTMLElement;
|
|
2399
|
+
details: HTMLElement;
|
|
2400
|
+
fill: HTMLElement;
|
|
2401
|
+
slide: ReturnType<HTMLElement["animate"]>;
|
|
2402
|
+
}
|
|
2403
|
+
export declare class LoadingScreenStages {
|
|
2404
|
+
static START_TEXT: string;
|
|
2405
|
+
static BAR_COLOR: string;
|
|
2406
|
+
static SLIDE_DURATION_MS: number;
|
|
2407
|
+
private static Views;
|
|
2408
|
+
private static Observer;
|
|
2409
|
+
private static PreviousHostDefers;
|
|
2410
|
+
private static BarState;
|
|
2411
|
+
private static BarProgress;
|
|
2412
|
+
static Attach(loadingScreen: any, marginTop: string): void;
|
|
2413
|
+
static FindPageCover(): HTMLElement;
|
|
2414
|
+
static AttachScreen(screen: HTMLElement, marginTop: string): void;
|
|
2415
|
+
private static Begin;
|
|
2416
|
+
static IsShowing(): boolean;
|
|
2417
|
+
static SceneToReveal(engine: AbstractEngine): Scene;
|
|
2418
|
+
static FadeScreen(screen: HTMLElement): void;
|
|
2419
|
+
static GetBarState(): number;
|
|
2420
|
+
static ShowStatus(status: string, details: string, progress: number, state: number): void;
|
|
2421
|
+
static Detach(removeStages?: boolean): void;
|
|
2422
|
+
private static CreateView;
|
|
2423
|
+
private static StartSlide;
|
|
2424
|
+
private static OnLoaderStatus;
|
|
2425
|
+
private static NextBarProgress;
|
|
2426
|
+
private static ToSentenceCase;
|
|
2427
|
+
}
|
|
2394
2428
|
export declare class MaterialSamplerBudget {
|
|
2395
2429
|
static BudgetOverride: number;
|
|
2396
2430
|
private static readonly ShadowSamplerDeclaration;
|