Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetUInt

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

Definition

GetUInt(int)

Gets the value of a named unsigned integer property.
public uint GetUInt(int nameID)

Parameters

nameID

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

Returns

Type

Description

uintThe value for the unsigned integer you specify. Returns
0
if VisualEffect.HasUInt returns
false
.

GetUInt(string)

Gets the value of a named unsigned integer property.
public uint GetUInt(string name)

Parameters

name

The name of the property.

Returns

Type

Description

uintThe value for the unsigned integer you specify. Returns
0
if VisualEffect.HasUInt returns
false
.