MaterialEditor.SetTextureScale

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

Parameters

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

Description

Set the scale of a given texture property.