Garry's Mod Wiki

IMaterial:SetFloat

  IMaterial:SetFloat( string materialFloat, number float )

Description

Sets the specified material float to the specified float, does nothing on a type mismatch.

Arguments

1 string materialFloat
The name of the material float.
2 number float
The new float value.