API

Interface IUSDZExportOptions

Options for the USDZ export

interface IUSDZExportOptions {
    anchoringType?: string;
    cameraSensorWidth?: number;
    exportCamera?: boolean;
    fflateUrl?: string;
    includeAnchoringProperties?: boolean;
    modelFileName?: string;
    planeAnchoringAlignment?: string;
    precision?: number;
}
Index
anchoringType?: string

Anchoring type (plane by default)

cameraSensorWidth?: number

Camera sensor width (35 by default)

exportCamera?: boolean

Export the camera (false by default)

fflateUrl?: string

URL to load the fflate library from

includeAnchoringProperties?: boolean

Include anchoring properties in the USDZ file

modelFileName?: string

Model file name (model.usda by default)

planeAnchoringAlignment?: string

Plane anchoring alignment (horizontal by default)

precision?: number

Precision to use for number (5 by default)