ドキュメント

Unity Engine

Unity Engine

GetPass(int)

Get a pass of a subshader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

passIndex

The index of the pass.

Returns

Type

Description

PassThe specified pass or null, if none exists.