import { type Mesh } from "@babylonjs/core/Meshes/mesh.js"; import { type Scene } from "@babylonjs/core/scene.js"; /** * Options for the USDZ export */ export interface IUSDZExportOptions { /** * URL to load the fflate library from */ fflateUrl?: string; /** * Include anchoring properties in the USDZ file */ includeAnchoringProperties?: boolean; /** * Anchoring type (plane by default) */ anchoringType?: string; /** * Plane anchoring alignment (horizontal by default) */ planeAnchoringAlignment?: string; /** * Model file name (model.usda by default) */ modelFileName?: string; /** * Precision to use for number (5 by default) */ precision?: number; /** * Export the camera (false by default) */ exportCamera?: boolean; /** * Camera sensor width (35 by default) */ cameraSensorWidth?: number; } /** * * @param scene scene to export * @param options options to configure the export * @param meshPredicate predicate to filter the meshes to export * @returns a uint8 array containing the USDZ file * @see [Simple sphere](https://playground.babylonjs.com/#H2G5XW#6) * @see [Red sphere](https://playground.babylonjs.com/#H2G5XW#7) * @see [Boombox](https://playground.babylonjs.com/#5N3RWK#5) */ export declare function USDZExportAsync(scene: Scene, options: Partial, meshPredicate?: (m: Mesh) => boolean): Promise;