Tile3Dclass is used internally by
Tileset3Dclass to manage loading/unloading tiles.
new Tile3D(tileset, header, parentHeader);
Tileset3Dinstance which contains this tile
Tile3Dinstance of parent tile
A bounding volume that encloses a tile or its content. Exactly one box, region, or sphere property is required. (
A unique number for the tile in the tileset. Default to the url of the tile.
Indicate of the tile content state. Available options
UNLOADED: Has never been requested or has been destroyed.
LOADING: Is waiting on a pending request.
PROCESSING: Contents are being processed for rendering. Depending on the content, it might make its own requests for external data.
READY: All the resources are loaded and decoded.
FAILED: Request failed.
empty: does not have any content to render
render: has content to render
tileset: tileset tile
The depth of the tile in the traversal tree.
The tile's content.This represents the actual tile's payload.
Parent of this tile.
Specifies the type of refine that is used when traversing this tile for rendering.
ADD: high-resolution children tiles should be rendered in addition to lower-resolution parent tiles when level of details of parent tiles are not sufficient for current view.
REPLACEMENT: high-resolution children tiles should replace parent tiles when lower-resolution parent tiles are not sufficient for current view.
Whether this tile is selected for rendering in current update frame and viewport. A selected tile should has its content loaded and satifies current viewport.
Tileset3D instance containing this tile.
The unprocessed tile header object passed in.
Destroy the tile node, including destroy all the metadata and unload content.
Load a content of the tile.
Unload a content of the tile.