文档

Unity Engine

Unity Engine

GetPass(int)

Get a pass of a subshader.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public ShaderData.Pass GetPass(int passIndex)

Parameters

passIndex

The index of the pass.

Returns

Type

Description

PassThe specified pass or null, if none exists.