Model:getMetadata

Edit

Returns extra information stored in the model file. Currently this is only implemented for glTF models and returns the JSON string from the glTF or glb file. The metadata can be used to get application-specific data or add support for glTF extensions not supported by LÖVR.

metadata = Model:getMetadata()

Arguments

None

Returns

NameTypeDescription
metadatastring The metadata from the model file.

See also