Skip to content

KBE3D / KBCore / Cesium / I3SLayer

类: I3SLayer

This class implements an I3S layer. In CesiumJS each I3SLayer creates a Cesium3DTileset. <p> Do not construct this directly, instead access layers through I3SDataProvider. </p>

属性

resource

readonly resource: Resource

Gets the resource for the layer.


rootNode

readonly rootNode: I3SNode

Gets the root node of this layer.


tileset

readonly tileset: Cesium3DTileset | undefined

Gets the Cesium3DTileset for this layer.


data

readonly data: any

Gets the I3S data for this object.


version

readonly version: string

The version string of the loaded I3S dataset


majorVersion

readonly majorVersion: number

The major version number of the loaded I3S dataset


minorVersion

readonly minorVersion: number

The minor version number of the loaded I3S dataset


legacyVersion16

readonly legacyVersion16: boolean

When <code>true</code>, when the loaded I3S version is 1.6 or older

方法

filterByAttributes()

filterByAttributes(filters?: AttributeFilter[]): Promise<void>

Filters the drawn elements of a layer to specific attribute names and values

参数

filters?

AttributeFilter[]

The collection of attribute filters

返回

Promise<void>

A promise that is resolved when the filter is applied

构造函数

构造函数

new I3SLayer(): I3SLayer

返回

I3SLayer

KBE3D @3.0.0 Copyright © 2024-present KBE3D