MetadataSchema

new Cesium.MetadataSchema(options)

A schema containing classes and enums.

See the 3D Metadata Specification for 3D Tiles

参数名称 类型 描述信息
options object Object with the following properties:
参数名称 类型 描述信息
id string 可选 The ID of the schema
name string 可选 The name of the schema.
description string 可选 The description of the schema.
version string 可选 The application-specific version of the schema.
classes Object.<string, MetadataClass> 可选 Classes defined in the schema, where each key is the class ID.
enums Object.<string, MetadataEnum> 可选 Enums defined in the schema, where each key is the enum ID.
extras * 可选 Extra user-defined properties.
extensions object 可选 An object containing extensions.
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.

成员(属性)

readonly classes : Object.<string, MetadataClass>

Classes defined in the schema.

readonly description : string

The description of the schema.

readonly enums : Object.<string, MetadataEnum>

Enums defined in the schema.

readonly extensions : object

An object containing extensions.
Extra user-defined properties.
The ID of the schema.
The name of the schema.

readonly version : string

The application-specific version of the schema.