ドキュメント

Unity Engine

Unity Engine

GetSubshader(int)

Obtains the runtime subshader at the given index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public ShaderData.Subshader GetSubshader(int index)

Parameters

index

The index of the subshader.

Returns

Type

Description

SubshaderThe associated runtime subshader or null if none exists.