Material.GetFloat

float GetFloat(string name)

Gets the value of a shader parameter with the given name. If no parameter is found, a default value of ‘0’ will be returned.

   
string name Name of the shader parameter.
RETURNS: float The parameter’s value, if present, otherwise 0.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!