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