identifier
TypeScriptget identifier(): stringSwift declarationvar identifier: UUID { get }A unique alphanumeric value that the framework assigns the structure.
struct · iOS 17.0+ · SDK 27.1
struct CapturedStructureAn object that holds the results of the merger of multiple capture sessions. This structure combines the data from multiple ``CapturedRoom`` instances that a user scans in the same physical vicinity. The ``StructureBuilder`` class's function merges the captured rooms with the ``StructureBuilder/capturedStructure(from:)`` function, which returns an object of this type.
get identifier(): stringSwift declarationvar identifier: UUID { get }A unique alphanumeric value that the framework assigns the structure.
get doors(): Array<CapturedRoom_Surface>Swift declarationvar doors: [CapturedStructure.Surface] { get }An array of all the doors in the structure.
get rooms(): Array<CapturedRoom>Swift declarationvar rooms: [CapturedRoom] { get }An array of all the captured rooms in the structure. A captured structure contains all the captured rooms that a user scans in the same physical vicinity, and then merges into a single captured instance with the ``RoomPlan/StructureBuilder/capturedStructure(from:)`` function.
get walls(): Array<CapturedRoom_Surface>Swift declarationvar walls: [CapturedStructure.Surface] { get }An array of all the walls in the structure.
export(url: string, metadataURL?: (string) | null, modelProvider?: (CapturedRoom_ModelProvider) | null, exportOptions?: CapturedRoom_USDExportOptions): voidSwift declarationfunc export(to url: URL, metadataURL: URL? = nil, modelProvider: CapturedStructure.ModelProvider? = nil, exportOptions: CapturedStructure.USDExportOptions = .mesh) throwsProduces a 3D asset from the captured structure. The file format of the output is Universal Scene Description (USD). > Tip: Before iOS 17.4, the first letter of the USD file name needs to be a character other than a number. - Parameter url: A location that the captured structure exports to. - Parameter metadataURL: A location that the captured room metadata exports to. - Parameter modelProvider: A collection of mappings of object categories and attributes to 3D model URLs. - Parameter exportOptions: Options that determine the export's data format.
get floors(): Array<CapturedRoom_Surface>Swift declarationvar floors: [CapturedStructure.Surface] { get }An array of all the floors in the structure.
get objects(): Array<CapturedRoom_Object>Swift declarationvar objects: [CapturedStructure.Object] { get }An array of all the objects in the structure.
get version(): numberSwift declarationvar version: Int { get }A version number for the captured structure.
get windows(): Array<CapturedRoom_Surface>Swift declarationvar windows: [CapturedStructure.Surface] { get }An array of all the windows in the structure.
get openings(): Array<CapturedRoom_Surface>Swift declarationvar openings: [CapturedStructure.Surface] { get }An array of all the openings in the structure.
get sections(): Array<CapturedRoom_Section>Swift declarationvar sections: [CapturedStructure.Section] { get }One or more room types that the framework identifies in the structure.
No declarations were skipped in this snapshot.