Skip to main content
←API Reference ←NSDK

MeshDownloaderChunk


Declaration​

struct MeshDownloaderChunk

Summary​

A single decoded mesh chunk from a streaming portal mesh download. Chunks are delivered incrementally via NSDKMeshDownloader/requestLocationMeshByAsset(vpsMapAssetId:latitude:longitude:getTexture:maxChunks:pollingInterval:) as each graph node finishes downloading, rather than waiting for the full download to complete.


Properties​

NameTypeSummary
let imageDataNSDKBuffer
The texture image data for the mesh, or an empty buffer if texture was not requested.
let meshDataMeshData
The mesh geometry data containing vertices, faces, and texture coordinates.
let transformsimd_float4x4
The transform matrix that positions this mesh relative to the site's local origin.

Relationships​

conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype