Skip to content

KBE3D / KBCore / Cesium / Cesium3DTile

类: Cesium3DTile

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. <p> Do not construct this directly, instead access tiles through Cesium3DTileset#tileVisible. </p>

参数

The tileset

参数

The base resource for the tileset

参数

The JSON header for the tile

参数

The parent tile of the new tile

属性

transform

transform: Matrix4

The local transform of this tile.


computedTransform

readonly computedTransform: Matrix4

The final computed transform of this tile.


geometricError

readonly geometricError: number

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.


children

readonly children: Cesium3DTile[]

Gets the tile's children.


parent

readonly parent: Cesium3DTile

This tile's parent or <code>undefined</code> if this tile is the root. <p> When a tile's content points to an external tileset JSON file, the external tileset's root tile's parent is not <code>undefined</code>; instead, the parent references the tile (with its content pointing to an external tileset JSON file) as if the two tilesets were merged. </p>


expireDuration

expireDuration: number

The time in seconds after the tile's content is ready when the content expires and new content is requested.


expireDate

expireDate: JulianDate

The date when the content expires and new content is requested.


tileset

readonly tileset: Cesium3DTileset

The tileset containing this tile.


content

readonly content: Cesium3DTileContent

The tile's content. This represents the actual tile's payload, not the content's metadata in the tileset JSON file.


boundingSphere

readonly boundingSphere: BoundingSphere

Get the bounding sphere derived from the tile's bounding volume.


extras

readonly extras: any

Returns the <code>extras</code> property in the tileset JSON for this tile, which contains application specific metadata. Returns <code>undefined</code> if <code>extras</code> does not exist.


i3sNode

i3sNode: string

Gets the I3S Node for the tile.

构造函数

构造函数

new Cesium3DTile(tileset: Cesium3DTileset, baseResource: Resource, header: any, parent: Cesium3DTile): Cesium3DTile

参数

tileset

Cesium3DTileset

baseResource

Resource

any

parent

Cesium3DTile

返回

Cesium3DTile

KBE3D @3.0.0 Copyright © 2024-present KBE3D