MetadataSchema

new Cesium.MetadataSchema(options)

包含类和枚举的 schema。

有关 3D Tiles 的说明,请参阅 3D Metadata Specification

Name Type Description
options object Object with the following properties:
Name Type Description
id string optional schema 的 ID
name string optional schema 的名称。
description string optional schema 的描述。
version string optional schema 的特定于应用的版本。
classes Object.<string, MetadataClass> optional schema 中定义的类,其中每个键都是类 ID。
enums Object.<string, MetadataEnum> optional schema 中定义的枚举,其中每个键都是枚举 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 classes : Object.<string, MetadataClass>

schema 中定义的类。

readonly description : string

schema 的描述。

readonly enums : Object.<string, MetadataEnum>

schema 中定义的枚举。

readonly extensions : object

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

readonly version : string

schema 的特定于应用的版本。
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。