assetMetadata function
floatboolstringfloat[]bool[]string[] assetMetadata(filePath, key, defaultValue)
filePath string Path to asset. See Asset Search for information about search locations.
key string Key for the metadata attribute.
defaultValue floatboolstringfloat[]bool[]string[] Default value. This value is returned if the metadata attribute with the given key and type does not exist.
Returns metadata potentially included in the geometry asset.
Some geometry formats might contain metadata which can be queried with this function.