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

SetMaterialOffset(material: ProceduralMaterial, offset: Vector2): void;
void SetMaterialOffset(ProceduralMaterial material, Vector2 offset);
def SetMaterialOffset(material as ProceduralMaterial, offset as Vector2) as void

Description

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