GetInt
Get a named exposed integer.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
GetInt(int)
Get a named exposed integer.
public int GetInt(int nameID)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| int | The value for the integer you specify. Returns |
GetInt(string)
Get a named exposed integer.
public int GetInt(string name)
Parameters
The name of the property.
Returns
Type | Description |
|---|---|
| int | The value for the integer you specify. Returns |