Material.GetVector2

Vec2 GetVector2(string name)

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

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




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