Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetUInt

Sets the value of a named unsigned integer property.
Read time 1 minuteLast updated 5 days ago

Definition

SetUInt(int, uint)

Sets the value of a named unsigned integer property.
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.

Remarks

Automatically changes overridden state for this property to true.

SetUInt(string, uint)

Sets the value of a named unsigned integer property.
public void SetUInt(string name, uint i)

Parameters

name

The name of the property.

The new unsigned integer value.

Remarks

Automatically changes overridden state for this property to true.