init
TypeScriptstatic init(modelFile: string): PhotogrammetrySession_RequestSwift declarationinit(modelFile: URL)Creates an instance based on the contents of a USDZ file.
enum · iOS 17.0+ · SDK 27.1
enum RequestAn object that configures a photogrammetry session reconstruction request. Create a ``PhotogrammetrySession/Request`` for each 3D object you want to construct from the same set of photographs. You might, for example, create a session with two requests, one to generate a low-resolution preview object in memory, and a second to generate a high-resolution final object saved to the file system. Before creating an instance of this class, check ``PhotogrammetrySession/isSupported`` to ensure object capture is available on the current device. For more information on using ``PhotogrammetrySession``, see <doc://com.apple.documentation/documentation/realitykit/creating-3d-objects-from-photographs>.
static init(modelFile: string): PhotogrammetrySession_RequestSwift declarationinit(modelFile: URL)Creates an instance based on the contents of a USDZ file.
No declarations were skipped in this snapshot.