getPropertyInherited

Returns a copy of the feature's property with the given name, examining all the metadata from the EXT_structural_metadata and legacy EXT_feature_metadata glTF extensions. Metadata is checked against name from most specific to most general and the first match is returned. Metadata is checked in this order:

  1. structural metadata property by semantic
  2. structural metadata property by property ID

See the EXT_structural_metadata Extension as well as the previous EXT_feature_metadata Extension for glTF.

Return

The value of the property or undefined if the feature does not have this property.

Parameters

name

The semantic or property ID of the feature. Semantics are checked before property IDs in each granularity of metadata.

See also