soggy.Documentation Back to Soggy ↗

materialsystem.find_material

Returns a reference to the material

materialsystem.find_material(path: string, force_load: boolean): material

Arguments

NameDescriptionType
pathPath to material including filenamestring
force_loadIf true, will load the material if it isn't loaded alreadyboolean

Returns material

Type to search guides, functions and events.