HasInt
Checks if the Visual Effect can override an integer with the name you pass in.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
HasInt(int)
Checks if the Visual Effect can override an integer with the name you pass in.
public bool HasInt(int nameID)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| bool |
HasInt(string)
Checks if the Visual Effect can override an integer with the name you pass in.
public bool HasInt(string name)
Parameters
The name of the property.
Returns
Type | Description |
|---|---|
| bool |