기술 자료

Unity Engine

Unity Engine

FindPass(string)

Returns the index of the pass passName.
읽는 시간 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