기술 자료

Unity Engine

Unity Engine

GetPass(int)

Get a pass of a subshader.
읽는 시간 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.