Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Subsystems

MeshChunkData


Declaration​

public sealed class MeshChunkData

Summary​

The geometry of one downloaded mesh chunk, copied out of NSDK into managed memory and not yet turned into Unity objects. Yielded by GetLocationMeshChunkDataByVpsMapAssetIdAsync.

Remarks​

Holds no Unity Mesh, Texture or Material, so keeping it costs only managed memory. Pass it to CreateMeshChunk to build a chunk GameObject. Destroying that GameObject frees its Unity assets and leaves this data intact, so the chunk can be built again later without downloading it again.


Properties​

NameTypeSummary
readonly AreaIdstring
Identifier of subarea in the site this chunk belongs to, or an empty string when the
asset has no subareas.
readonly VpsMapAssetIdstring
The VPS map asset ID the download was requested with. Not the ID of the mesh asset the
geometry came from, so it matches the asset VPS2 reports as localized.