Interface IUSDZExportOptions
interface IUSDZExportOptions {
anchoringType?: string;
cameraSensorWidth?: number;
exportCamera?: boolean;
fflateUrl?: string;
includeAnchoringProperties?: boolean;
modelFileName?: string;
planeAnchoringAlignment?: string;
precision?: number;
}
anchoringType?: string;
cameraSensorWidth?: number;
exportCamera?: boolean;
fflateUrl?: string;
includeAnchoringProperties?: boolean;
modelFileName?: string;
planeAnchoringAlignment?: string;
precision?: number;
}
Properties
Optionalanchoring Type
anchoringType?: string
Anchoring type (plane by default)
Optionalcamera Sensor Width
cameraSensorWidth?: number
Camera sensor width (35 by default)
Optionalexport Camera
exportCamera?: boolean
Export the camera (false by default)
Optionalfflate Url
fflateUrl?: string
URL to load the fflate library from
Optionalinclude Anchoring Properties
includeAnchoringProperties?: boolean
Include anchoring properties in the USDZ file
Optionalmodel File Name
modelFileName?: string
Model file name (model.usda by default)
Optionalplane Anchoring Alignment
planeAnchoringAlignment?: string
Plane anchoring alignment (horizontal by default)
Optionalprecision
precision?: number
Precision to use for number (5 by default)
Options for the USDZ export