GetPass(int)
Get a pass of a subshader.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public ShaderData.Pass GetPass(int passIndex)
Parameters
The index of the pass.
Returns
Type | Description |
|---|---|
| Pass | The specified pass or null, if none exists. |