MetadataClass

new Cesium.MetadataClass(options)

元数据类。

See the 3D Metadata Specification for 3D Tiles

Name Type Description
options object 对象,具有以下属性:
Name Type Description
id string 类的 ID。
name string optional 类的名称。
description string optional 类的描述。
properties Object.<string, MetadataClassProperty> optional 类属性,其中每个键都是属性 ID。
extras * optional 额外的用户定义属性。
extensions object optional 包含扩展的对象。
Experimental

此功能使用的是 3D Tiles 规范的一部分,该规范不是最终版本,并且可能会在没有 Cesium 标准弃用策略的情况下进行更改。

Members

readonly description : string

类的描述。

readonly extensions : object

包含扩展的对象。
额外的用户定义属性。
类的 ID。
类的名称。

readonly properties : Object.<string, MetadataClassProperty>

类属性。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.