pickMetadata

fun pickMetadata(windowPosition: Cartesian2, schemaId: String?, className: String, propertyName: String): MetadataValue?(source)

Pick a metadata value at the given window position.

Return

The metadata value, or undefined when no matching metadata was found at the given position

Parameters

windowPosition

Window coordinates to perform picking on.

schemaId

The ID of the metadata schema to pick values from. If this is undefined, then it will pick the values from the object that match the given class- and property name, regardless of the schema ID.

className

The name of the metadata class to pick values from

propertyName

The name of the metadata property to pick values from

See also