文档

Unity Engine

Unity Engine

GetPassName(int)

Returns the name of the shader pass at index pass.
阅读时间1 分钟最后更新于 1 天前

Definition

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.