Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

SubstanceImporter.SetTextureAlphaSource

SetTextureAlphaSource(material: ProceduralMaterial, textureName: string, alphaSource: ProceduralOutputType): void;
void SetTextureAlphaSource(ProceduralMaterial material, string textureName, ProceduralOutputType alphaSource);
def SetTextureAlphaSource(material as ProceduralMaterial, textureName as string, alphaSource as ProceduralOutputType) as void

Description

Set the alpha source of the given texture in the ProceduralMaterial.