setValuesAtTimes()

app.project.item(index).layer(index).propertySpec.setValuesAtTimes(times,newValues)

Description

Sets values for a set of keyframes at specified of times. Creates a new keyframe for the named property, if one does not currently exist for a specified time, and sets its value.

Times and values are expressed as arrays; the arrays must be of the same length.

Parameters

time s An array of times, in seconds. Each time is a floating-point value. The beginning of the composition is 0.
newValues A array of values appropriate for the type of property being set; see Property propertyValu-eType attribute”.

Returns

Nothing.

Other Tags

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