# AssetArea Source: https://www.nianticspatial.com/docs/api/swift/NSDK.struct-AssetArea/ AssetArea --- ## Declaration struct AssetArea ## Summary One independently-localizable piece of an asset. A scan too large for a single mapping run is split, and each piece gets its own job, anchor, node graph and extent. An asset mapped in one pass has exactly one area. One shape serves every asset type. `AssetInfo/assetType` selects which properties carry anything: - mesh: `rootNodeId`, `nodeIds`, `meshCoverage` - splat: `rootNodeId` - VPS: `anchorPayload`, and `bounds` --- ## Constructors init(fromC cValue: ARDK_SitesManager_AssetArea) ### Parameters | Name | Type | Summary | | --- | --- | --- | | cValue | ARDK_SitesManager_AssetArea | - | --- ## Properties | Name | Type | Summary | | --- | --- | --- | | let anchorPayload | String | This area's anchor payload, base64-encoded ManagedPoseData. Note: A legacy map identifier. An anchor payload is no longer the preferred method to identify the map to localize against: pass a site ID to `NSDKVps2Session.localize(siteId:)` or a coordinate to `localize(latitude:longitude:radiusMeters:)`. | | let areaId | String | This area's own identifier, unique within the asset. | | let bounds | GeoBounds? | This area's geographic extent, or nil when the portal published none, or one describingno usable area. | | var debugDescription | String | A textual representation of this instance, suitable for debugging.Calling this property directly is discouraged. Instead, convert aninstance of any type to a string by using the `String(reflecting:)`initializer. This initializer works with any type, and uses the custom`debugDescription` property for types that conform to`CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "((x), (y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)"The conversion of `p` to a string in the assignment to `s` uses the`Point` type's `debugDescription` property. | | let jobStatus | AssetPipelineJobStatus | Status of this area's own mapping job.A job belongs to an area, so this is the only status the portal reports;`AssetInfo/pipelineJobStatus` is deprecated and left unset. | | let meshCoverage | Double | This area's mesh coverage in square meters. | | let nodeIds | [String] | All node IDs from this area's space. | | let rootNodeId | String | Root node ID of this area's space. | | let spaceId | String | The space this area was mapped into. | --- ## Nested Types ### Structs | Name | Type | Summary | | --- | --- | --- | | GeoBounds | GeoBounds | A geographic bounding box. | --- ## Relationships conforms to: Swift.CustomDebugStringConvertible conforms to: Swift.Sendable conforms to: Swift.SendableMetatype