Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FindPass(string)

Returns the index of the pass passName.
Read time 1 minuteLast updated 4 days ago

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