HasMesh
Checks if the Visual Effect can override a Mesh with the name you pass in.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
HasMesh(int)
Checks if the Visual Effect can override a Mesh with the name you pass in.
public bool HasMesh(int nameID)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| bool |
HasMesh(string)
Checks if the Visual Effect can override a Mesh with the name you pass in.
public bool HasMesh(string name)
Parameters
The name of the property.
Returns
Type | Description |
|---|---|
| bool |