GetTransformArrayUVScaleOffset()
Purpose #
Gets the UV scale and offset of an element from an Exposable Array node.
Syntax #
object GetTransformArrayUVScaleOffset(int element_id);
Parameters
element_id | The element ID to get. |
Example #
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Exposable Array");
scaleOffsetList = node.GetTransformArrayUVScaleOffset(0);
for(i = 0; i < scaleOffsetList.length; ++i)
{
Log("scaleOffsetList[" + i + "]=" + scaleOffsetList[i]);
}
}