Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetUint

Use this method to set the value of an unsigned integer with the name you pass in.
Read time 1 minuteLast updated 5 days ago

Definition

SetUint(int, uint)

Use this method to set the value of an unsigned integer with the name you pass in.
public void SetUint(int nameID, uint i)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

The new unsigned integer value.

SetUint(string, uint)

Use this method to set the value of an unsigned integer with the name you pass in.
public void SetUint(string name, uint i)

Parameters

name

The name of the property.

The new unsigned integer value.