English中文

MetadataClass

new Cesium.MetadataClass(options)

元数据类。 A metadata class.

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

名称 Name 类型 Type 说明 Description
options object 具有以下属性的对象: Object with the following properties:
名称 Name 类型 Type 说明 Description
id string 班级 ID。 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 类属性,其中每个键都是属性 ID。 The class properties, where each key is the property ID.
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 class.

readonly extensions : object

包含扩展的对象。 An object containing extensions.
额外的用户定义属性。 Extra user-defined properties.
班级 ID。 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.