new Cesium.Cesium3DTile(tileset, baseResource, header, parent)

A tile in a Cesium3DTileset. When a tile is first created, its content is not loaded; 根据视图需要时,内容会被按需加载.

Do not construct this directly, instead access tiles through Cesium3DTileset#tileVisible.

Name Type Description
tileset Cesium3DTileset The tileset
baseResource Resource 砖块的基础资源
header object The JSON header for the tile
parent Cesium3DTile 新牌的母牌

Members

readonly boundingSphere : BoundingSphere

从瓦片的边框量中获取边框.

readonly children : Array.<Cesium3DTile>

得到瓷砖的孩子.

readonly computedTransform : Matrix4

这瓷砖的最后计算转换.

readonly content : Cesium3DTileContent

瓷砖的内容. 这代表了瓷砖的实际有效载荷, 而非 tileset NT%0 文件中的内容元数据 .

expireDate : JulianDate

内容到期日和新内容请求日期.

expireDuration : number

砖块内容的秒后时间,当内容到期并请求新内容时即可.

readonly extras : object

Returns the extras property in the tileset JSON for this tile, which contains application specific metadata. 如果 NT 2 extras NT 3 不存在,则返回 NT 0 未定义 NT 1 .
See:

readonly geometricError : number

误差,以米计,如果这个瓦片被渲染出来,而它的子孙不是. 用于计算屏幕空间错误, i.e ., 以像素测量的错误 .

i3sNode : string

获得 NT 0 结节为瓦.

readonly parent : Cesium3DTile

This tile's parent or undefined if this tile is the root.

当一个砖块的内容指向一个外部砖块 JSON 文件时,外部砖块的 root tile's parent is not undefined; instead, the parent references 砖块(其内容指外部的砖块 NT 0 文件),仿佛两块砖块被合并了.

readonly tileset : Cesium3DTileset

里面有这瓷砖的瓷砖.

transform : Matrix4

这种瓦片的局部变形.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.