HasFloat
Use this method to check if the VFXEventAttribute stores a float with the name you pass in.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
HasFloat(int)
Use this method to check if the VFXEventAttribute stores a float with the name you pass in.
public bool HasFloat(int nameID)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| bool |
HasFloat(string)
Use this method to check if the VFXEventAttribute stores a float with the name you pass in.
public bool HasFloat(string name)
Parameters
The name of the property.
Returns
Type | Description |
|---|---|
| bool |