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
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
GetUint(int)
Use this method to get the value of a named unsigned integer property from the VFXEventAttribute.
public uint GetUint(int nameID)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| uint | The 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
The name of the property.
Returns
Type | Description |
|---|---|
| uint | The value for the int you specify. Returns 0 if VFXEventAttribute.HasUint returns false. |