Skip to main content

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