Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetUint

Use this method to get the value of a named unsigned integer property from the VFXEventAttribute.
Read time 1 minuteLast updated 8 days ago

Definition

GetUint(int)

Use this method to get the value of a named unsigned integer property from the VFXEventAttribute.
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 int you specify. Returns 0 if VFXEventAttribute.HasUint returns false.

GetUint(string)

Use this method to get the value of a named unsigned integer property from the VFXEventAttribute.
public uint GetUint(string name)

Parameters

name

The name of the property.

Returns

Type

Description

uintThe value for the int you specify. Returns 0 if VFXEventAttribute.HasUint returns false.