MaterialEditor.SetTextureOffset

function SetTextureOffset (propertyName : String, value : Vector2, coord : int) : void

Parameters

NameDescription
propertyName Name of the texture property that you wish to modify the offset of.
value Scale to set.
coord Set the x or y component of the offset (0 for x, 1 for y).

Description

Set the offset of a given texture property.