Garry's Mod Wiki

Revision Difference

IMaterial:SetFloat#549209

<function name="SetFloat" parent="IMaterial" type="classfunc"> <description>Sets the specified material float to the specified float, does nothing on a type mismatch.</description> <realm>Shared</realm>⤶ <realm>Shared and Menu</realm>⤶ <args> <arg name="materialFloat" type="string">The name of the material float.</arg> <arg name="float" type="number">The new float value.</arg> </args> </function>