MetadataClass

new Cesium.MetadataClass(options)

元数据类。

请参见 3D Metadata Specification 以获取 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>

类属性。
需要帮助?获得答案的最快方法是来自社区和团队 Cesium Forum.