Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

SubstanceImporter.SetMaterialScale

public function SetMaterialScale(material: ProceduralMaterial, scale: Vector2): void;

Description

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