Garry's Mod Wiki

CLuaParticle:SetMaterial

  CLuaParticle:SetMaterial( IMaterial mat )

Description

Sets the material of the particle.

Arguments

1 IMaterial mat
The new material to set. Can also be a string.