@micrio/client 7.4.4 → 7.4.5
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/micrio.core.min.js +2 -2
- package/micrio.min.d.ts +5 -4
- package/micrio.min.js +2 -2
- package/package.json +1 -1
package/micrio.min.d.ts
CHANGED
|
@@ -3257,7 +3257,7 @@ declare module '@micrio/client' {
|
|
|
3257
3257
|
filename?: string;
|
|
3258
3258
|
startFrameFraction?: number;
|
|
3259
3259
|
}) => Promise<MicrioSogViewer>;
|
|
3260
|
-
|
|
3260
|
+
global {
|
|
3261
3261
|
/** Set by the page (or loaded below) from the PlayCanvas SOG bundle. */
|
|
3262
3262
|
var createMicrioSogViewer: CreateMicrioSogViewer | undefined;
|
|
3263
3263
|
}
|
|
@@ -3265,10 +3265,11 @@ declare module '@micrio/client' {
|
|
|
3265
3265
|
export const isSogBundle: (micrio: HTMLMicrioElement, bundle: Models.ImageBundle.BundleImage) => boolean;
|
|
3266
3266
|
/**
|
|
3267
3267
|
* True when `data-sog` asks for the overlay: the SOG is drawn on a transparent
|
|
3268
|
-
* canvas
|
|
3268
|
+
* canvas over the normal photo renderer, whose background is cut away with the
|
|
3269
3269
|
* SOG's alpha. Navigation runs on the SOG; when it stops, the rotation snaps to
|
|
3270
|
-
* the nearest photographed frame and the SOG
|
|
3271
|
-
*
|
|
3270
|
+
* the nearest photographed frame and the SOG drops behind the photo, filling
|
|
3271
|
+
* the target tiles that are still loading. `data-prefer-sog` keeps forcing the
|
|
3272
|
+
* SOG-only renderer, so it wins when both are set.
|
|
3272
3273
|
*/
|
|
3273
3274
|
export const isSogHybrid: (micrio: HTMLMicrioElement) => boolean;
|
|
3274
3275
|
export {};
|