MetadataSchema

new Cesium.MetadataSchema(options)

A schema containing classes and enums.

See the 3D Metadata Specification for 3D Tiles

Name Type Description
options object Object with the following properties:
Name Type Description
id string optional The ID of the schema
name string optional The name of the schema.
description string optional The description of the schema.
version string optional The application-specific version of the schema.
classes Object.<string, MetadataClass> optional Classes defined in the schema, where each key is the class ID.
enums Object.<string, MetadataEnum> optional Enums defined in the schema, where each key is the enum ID.
extras * optional Extra user-defined properties.
extensions object optional 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.

Members

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.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.