valueAtTime()

app.project.item(index).layer(index).propertySpec.valueAtTime(time,preExpression)

Description

The value of the named property as evaluated at the specified time.

Note that the type of value returned is not made explicit; it will be of a different type, depending on the property evaluated.

Parameters

time The time in seconds; a floating-point value. The beginning of the composition is 0.
preEx pre ssion If the property has an expression and this is true, return the value for the specified time without applying the expression to it. When false, return the result of evaluating the expression for the specified time.
Ignored if the property does not have an associated expression.

Returns

A value appropriate for the type of the property (see Property propertyValueType attribute” ).

Other Tags

Posted in Property object and tagged , , , , , , , , , , , .