Material.SetUInt

void SetUInt(string name, uint value)

Sets a shader parameter with the given name to the provided value. If no parameter is found, nothing happens, and the value is not set!

   
string name Name of the shader parameter.
uint value New value for the parameter.
void SetUInt(string name, uint value1, uint value2)

Sets a shader parameter with the given name to the provided value. If no parameter is found, nothing happens, and the value is not set!

   
string name Name of the shader parameter.
uint value1 New value for the parameter.
uint value2 New value for the parameter.
void SetUInt(string name, uint value1, uint value2, uint value3)

Sets a shader parameter with the given name to the provided value. If no parameter is found, nothing happens, and the value is not set!

   
string name Name of the shader parameter.
uint value1 New value for the parameter.
uint value2 New value for the parameter.
uint value3 New value for the parameter.
void SetUInt(string name, uint value1, uint value2, uint value3, uint value4)

Sets a shader parameter with the given name to the provided value. If no parameter is found, nothing happens, and the value is not set!

   
string name Name of the shader parameter.
uint value1 New value for the parameter.
uint value2 New value for the parameter.
uint value3 New value for the parameter.
uint value4 New value for the parameter.




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