Purpose

Gets the UV scale and offset of an element from an Exposable Transform Array node.

Syntax

object GetTransformArrayUVScaleOffset(int elementID);

  • elementID: The element ID to get.

Example

function Update()  { 
    layer = Document.FindLayer("My Layer");
    node = layer.FindNode("Exposable Transform Array");
    scaleOffsetList = node.GetTransformArrayUVScaleOffset(0);
    for(i = 0; i < scaleOffsetList.length; ++i) {
        Log("scaleOffsetList[" + i + "]=" + scaleOffsetList[i]);
    }
}