MetadataClass

new Cesium.MetadataClass(options)

一个元数据类。

有关 3D Tiles 的内容,请参阅 3D Metadata Specification

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

This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.

Members

readonly description : string

类的描述。

readonly extensions : object

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

readonly properties : Object.<string, MetadataClassProperty>

类的属性。
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。