English中文

MetadataEnum

new Cesium.MetadataEnum(options)

元数据枚举。 A metadata enum.

请参阅 See the 3D Metadata Specification 对于 3D Tiles for 3D Tiles

名称 Name 类型 Type 说明 Description
options object 具有以下属性的对象: Object with the following properties:
名称 Name 类型 Type 默认值 Default 说明 Description
id string 枚举的 ID。 The ID of the enum.
values Array.<MetadataEnumValue> 枚举值。 The enum values.
valueType MetadataComponentType MetadataComponentType.UINT16 可选 optional 枚举值类型。 The enum value type.
name string 可选 optional 枚举的名称。 The name of the enum.
description string 可选 optional 枚举的描述。 The description of the enum.
extras * 可选 optional 额外的用户定义属性。 Extra user-defined properties.
extensions object 可选 optional 包含扩展的对象。 An object containing extensions.
实验性 Experimental

此功能使用的是 3D Tiles 规范的一部分,该规范不是最终版本,并且可能会在没有 Cesium 的标准弃用政策的情况下进行更改。 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 enum.

readonly extensions : object

包含扩展的对象。 An object containing extensions.
额外的用户定义属性。 Extra user-defined properties.
枚举的 ID。 The ID of the enum.
枚举的名称。 The name of the enum.
枚举值。 The enum values.
枚举值类型。 The enum value type.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.