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

SetMaterialScale(material: ProceduralMaterial, scale: Vector2): void;
void SetMaterialScale(ProceduralMaterial material, Vector2 scale);
def SetMaterialScale(material as ProceduralMaterial, scale as Vector2) as void

Description

Set the material scale, which is used for all the textures that are part of this ProceduralMaterial.