upsampleAsync
open override fun upsampleAsync(tilingScheme: TilingScheme, thisX: Double, thisY: Double, thisLevel: Int, descendantX: Double, descendantY: Double, descendantLevel: Int): Promise<HeightmapTerrainData>?(source)
Upsamples this terrain data for use by a descendant tile. The resulting instance will contain a subset of the height samples in this instance, interpolated if necessary.
Return
A promise for upsampled heightmap terrain data for the descendant tile, or undefined if the mesh is unavailable.
Parameters
tilingScheme
The tiling scheme of this terrain data.
thisX
The X coordinate of this tile in the tiling scheme.
thisY
The Y coordinate of this tile in the tiling scheme.
thisLevel
The level of this tile in the tiling scheme.
descendantX
The X coordinate within the tiling scheme of the descendant tile for which we are upsampling.
descendantY
The Y coordinate within the tiling scheme of the descendant tile for which we are upsampling.
descendantLevel
The level within the tiling scheme of the descendant tile for which we are upsampling.