PhotogrammetrySession.Request.modelFile(url:detail:geometry:)
An object-creation request saved to a USDZ file or a folder (for OBJ output).
Declaration
case modelFile(url: URL, detail: PhotogrammetrySession.Request.Detail = .reduced, geometry: PhotogrammetrySession.Request.Geometry? = nil)Parameters
- url:
The location URL in the file system where you want to save the model file. The request saves a USDZ file if the
urlends with.usdz. Ifurlrefers to a directory, the request saves an OBJ object and every texture map there. - detail:
The level of detail for the created model.
- geometry:
The bounding box or transforms for the generated object.