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

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

Description

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