GetPassName(int)
Returns the name of the shader pass at index pass.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public string GetPassName(int pass)
Parameters
Returns
Type | Description |
|---|---|
| string |
Remarks
Returns the name of the shader pass at index . It will return an empty string if the pass does not exist.
passAdditional Resources: Material.FindPass.