Map height node constructor.
The parent node of this node.
Map view object where this node is placed.
Position in the node tree relative to the parent.
Zoom level in the tile tree of the node.
X position of the node in the tile tree.
Y position of the node in the tile tree.
Geometry used to render this height node.
Material used to render this height node.
Cache with the children objects created from subdivision.
Used to avoid recreate object after simplification and subdivision.
The default value is null. Only used if "cacheTiles" is set to true.
Flag to indicate if the map node was disposed.
When a map node is disposed its resources are dealocated to save memory.
If true the tiles will compute their normals.
Size of the grid of the geometry displayed on the scene for each tile.
Flag indicating if the tile height data was loaded.
Flag to check if the node is a mesh by the renderer.
Used to toggle the visibility of the node. The renderer skips the node rendering if this is set false.
Tile level of this node.
Index of the map node in the quad-tree parent node.
Position in the tree parent, can be topLeft, topRight, bottomLeft or bottomRight.
The map view object where the node is placed.
Indicates how many children nodes are loaded.
The child on become visible once all of them are loaded.
Parent node (from an upper tile level).
Variable to check if the node is subdivided.
To avoid bad visibility changes on node load.
Flag indicating if the tile texture was loaded.
Tile x position.
Tile y position.
Static
baseBase geometry shared across all the nodes.
Static
childrensHow many children each branch of the tree has.
For a quad-tree this value is 4.
Static
defaultDefault texture used when texture fails to load.
Static
defaultStatic
geometryMap node plane geometry.
Static
tileOriginal tile size of the images retrieved from the height provider.
Represents a height map tile node that can be subdivided into other height nodes.
Its important to update match the height of the tile with the neighbors nodes edge heights to ensure proper continuity of the surface.
The height node is designed to use MapBox elevation tile encoded data as described in https://www.mapbox.com/help/access-elevation-data/