Garry's Mod Wiki

IMaterial:GetFloat

  number IMaterial:GetFloat( string materialFloat )

Description

Returns the specified material value as a float, or nil if the value is not set.

Arguments

1 string materialFloat
The name of the material value.

Returns

1 number
float