2using System.Collections.Generic;
66 public Dictionary<String, CesiumPropertyTableProperty>
properties
88 Dictionary<String, CesiumMetadataValue> result =
new Dictionary<String, CesiumMetadataValue>();
112 foreach (KeyValuePair<String, CesiumPropertyTableProperty> property
in this.
properties)
114 values.Add(property.Key, property.Value.GetValue(featureId));
118 internal void DisposeProperties()
120 foreach (KeyValuePair<String, CesiumPropertyTableProperty> property
in this.
properties)
122 property.Value.Dispose();
Represents a glTF property table in the EXT_structural_metadata extension.
Dictionary< String, CesiumPropertyTableProperty > properties
The properties of the property table, mapped by property id.
void GetMetadataValuesForFeature(Dictionary< String, CesiumMetadataValue > values, Int64 featureId)
Gets all of the property values for a given feature, mapped by property name.
string name
The name of the property table.
Int64 count
The number of values each property in the table is expected to have.
Dictionary< String, CesiumMetadataValue > GetMetadataValuesForFeature(Int64 featureId)
Gets all of the property values for a given feature, mapped by property name.
CesiumPropertyTableStatus status
The status of the property table.
@ Valid
The feature ID attribute is valid.
CesiumPropertyTableStatus
Reports the status of a CesiumPropertyTable.
@ ErrorInvalidPropertyTable
The property table instance was not initialized from an actual glTF property table.
@ ErrorInvalidPropertyTableClass
The property table's class could be found in the schema of the metadata extension.