Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

SubstanceImporter.SetMaterialScale

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

Parameters

Description

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