GetEnvelopeValue()
Purpose #
Retrieves the calculated value (post modifiers and keyframes) of a float property in a node.
The retrieved value is from the last frame.
Syntax #
float GetEnvelopeValue(String field_name);
Parameters
field_name | the field name (NB: Does not require the group name) |
returns a float of the resulting calculated value from the last frame.
Example #
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Frame Buffer");
value = node.GetEnvelopeValue("Position X");
}