Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Material.GetPassName

Switch to Manual
public string GetPassName(int pass);

Description

Returns the name of the shader pass at index pass.

Returns the name of the shader pass at index pass. It will return an empty string if the pass does not exist.

See Also: FindPass.

Did you find this page useful? Please give it a rating: