Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Material.FindPass

Switch to Manual
public int FindPass(string passName);

Description

Returns the index of the pass passName.

Returns the index of the pass passName. -1 if it does not exist. See Also: GetPassName