Version: 2020.2
public Rendering.ShaderTagId FindPassTagValue (int passIndex, Rendering.ShaderTagId tagName);

パラメーター

passIndex The index of the pass.
tagName The name of the pass tag.

説明

Search for the pass tag specified by tagName on the shader's active SubShader and returns the value of the tag.