Entity:SetSubMaterialOverride(Entity, number?, string?)

shared
Set the sub material override by it's index (which starts at 0 and runs until at most 31). If called without arguments, it will reset all submaterials.

Arguments

Examples

Entity:SetSubMaterialOverride – Set the sub material override by it's index (which starts at 0 and runs until at most 31). If called without arguments, it will reset all submaterials.