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