new Cesium3DTile(tileset, baseResource, header, parent)
A tile in a Cesium3DTileset. When a tile is first created, its content is not loaded;
the content is loaded on-demand when needed based on the view.
Do not construct this directly, instead access tiles through Cesium3DTileset#tileVisible.
| Name | Type | Description |
|---|---|---|
tileset |
Cesium3DTileset |
The tileset |
baseResource |
Resource |
The base resource for the tileset |
header |
object |
The JSON header for the tile |
parent |
Cesium3DTile |
The parent tile of the new tile |
Members
-
readonly boundingSphereBoundingSphere
-
Get the bounding sphere derived from the tile's bounding volume.
-
readonly childrenArray.<Cesium3DTile>
-
Gets the tile's children.
-
readonly computedTransformMatrix4
-
The final computed transform of this tile.
-
readonly contentCesium3DTileContent
-
The tile's content. This represents the actual tile's payload, not the content's metadata in the tileset JSON file.
-
expireDateJulianDate
-
The date when the content expires and new content is requested.
-
expireDurationnumber
-
The time in seconds after the tile's content is ready when the content expires and new content is requested.
-
readonly extrasobject
-
Returns the
extrasproperty in the tileset JSON for this tile, which contains application specific metadata. Returnsundefinedifextrasdoes not exist. -
readonly geometricErrornumber
-
The error, in meters, introduced if this tile is rendered and its children are not. This is used to compute screen space error, i.e., the error measured in pixels.
-
i3sNodestring
-
获取瓦片的 I3S 节点。
-
readonly parentCesium3DTile
-
This tile's parent or
undefinedif this tile is the root.When a tile's content points to an external tileset JSON file, the external tileset's root tile's parent is not
undefined; instead, the parent references the tile (with its content pointing to an external tileset JSON file) as if the two tilesets were merged. -
readonly tilesetCesium3DTileset
-
The tileset containing this tile.
-
transformMatrix4
-
The local transform of this tile.