Material.GetPassName

Switch to Manual

Declaration

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.

Additional resources: FindPass.


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