Home > @gglib/content-loaders > loadGgmatToMaterialOptions

loadGgmatToMaterialOptions variable

Downloads .ggmat textfile and interprets the content as MaterialOptions json object

Signature:

loadGgmatToMaterialOptions: Loader<string, MaterialOptions>

Remarks

If the file contains a json array, only the first entry is resolved