GetLocationMeshChunkDataByVpsMapAssetIdAsync
Declaration
public IAsyncEnumerable<MeshChunkData> GetLocationMeshChunkDataByVpsMapAssetIdAsync(string vpsMapAssetId, double latitude, double longitude, bool getTexture = false, uint maxChunks = 0, uint maxSizeKb = 0, uint maxDecodedSizeKb = DefaultMaxDecodedSizeKb, bool cancelOnDisable = true)
Summary
Remarks
Build a chunk GameObject from the yielded data with CreateMeshChunk.
Parameters
| Name | Type | Summary |
|---|---|---|
| vpsMapAssetId | string | - |
| latitude | double | - |
| longitude | double | - |
| getTexture | bool | - |
| maxChunks | uint | - |
| maxSizeKb | uint | - |
| maxDecodedSizeKb | uint | - |
| cancelOnDisable | bool | - |
Stream mesh chunks for a VPS map asset like
GetLocationMeshChunksByVpsMapAssetIdAsync, but yield each chunk's geometry
as MeshChunkData instead of building Unity objects for it.