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

GetMaterialScale(material: ProceduralMaterial): Vector2;
Vector2 GetMaterialScale(ProceduralMaterial material);
def GetMaterialScale(material as ProceduralMaterial) as Vector2

Description

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