기술 자료

Unity Engine

Unity Engine

GetPassName(int)

Returns the name of the shader pass at index pass.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public string GetPassName(int pass)

Parameters

pass

Returns

Type

Description

string

Remarks

Returns the name of the shader pass at index pass. It will return an empty string if the pass does not exist.
Additional Resources: Material.FindPass.