Home > @gglib/content-loaders > loadGgmatToMaterialOptionsArray

loadGgmatToMaterialOptionsArray variable

Downloads .ggmat textfile and interprets the content as MaterialOptions[] json array

Signature:

loadGgmatToMaterialOptionsArray: Loader<string, ModelOptions[]>

Remarks

If the file contains a json object, it is pushed into a new array and returned