ドキュメント

Unity Engine

Unity Engine

FindSubshaderTagValue(int, ShaderTagId)

Searches for the tag specified by tagName on the SubShader specified by subshaderIndex and returns the value of the tag.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public ShaderTagId FindSubshaderTagValue(int subshaderIndex, ShaderTagId tagName)

Parameters

subshaderIndex

The index of the SubShader.

The name of the tag.

Returns

Type

Description

ShaderTagId