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