English | 简体中文

MetadataClass

new Cesium.MetadataClass(options)

A metadata class.

See the 3D Metadata Specification for 3D Tiles

Name Type Description
options object Object with the following properties:
Name Type Description
id string The ID of the class.
name string optional The name of the class.
description string optional The description of the class.
properties Object.<string, MetadataClassProperty> optional The class properties, where each key is the property 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 description : string

The description of the class.

readonly extensions : object

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

readonly properties : Object.<string, MetadataClassProperty>

The class properties.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.