ドキュメント

Unity Engine

Unity Engine

FindPass(string)

Returns the index of the pass passName.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int FindPass(string passName)

Parameters

passName

Returns

Type

Description

int

Remarks

Returns the index of the pass
passName
. -1 if it does not exist. Additional Resources: Material.GetPassName