MetadataEnum

new Cesium.MetadataEnum(options)

A metadata enum.

See the 3D Metadata Specification for 3D Tiles

参数名称 类型 描述信息
options object Object with the following properties:
参数名称 类型 默认值 描述信息
id string The ID of the enum.
values Array.<MetadataEnumValue> The enum values.
valueType MetadataComponentType MetadataComponentType.UINT16 可选 The enum value type.
name string 可选 The name of the enum.
description string 可选 The description of the enum.
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 description : string

The description of the enum.

readonly extensions : object

An object containing extensions.
Extra user-defined properties.
The ID of the enum.
The name of the enum.
The enum values.
The enum value type.