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.SetGenerateMipMaps

SetGenerateMipMaps(material: ProceduralMaterial, mode: bool): void;
void SetGenerateMipMaps(ProceduralMaterial material, bool mode);
def SetGenerateMipMaps(material as ProceduralMaterial, mode as bool) as void

Description

Force the generation of mipmaps for this ProceduralMaterial.