Adobe 12040118 - After Effects Standard Using Manual page 149

Using help
Hide thumbs Also See for 12040118 - After Effects Standard:
Table of Contents

Advertisement

Help
Using Help
Description
The property setValuesAtTimes method creates keyframes at a given series of times (for those times where no
keyframes exist) and sets values of those keyframes.
If no keyframes yet exist, this method creates a set of keyframes and sets the first keyframe at the given time.
If no keyframe exists at the given time, this method creates one. If a keyframe does exist at the given time, this
method sets its value.
Times and values are expressed as arrays. The type of value to use as arguments depends on the propertyVal-
ueType.
Parameters
[ t i m e s ]
[newValues]
Returns
None.
Property unitsText attribute
a p p.p ro j e c t . i t e m ( i n d e x ) . l ay e r ( i n d e x ) . p ro p e r t y ( n a m e ) . u nit sTex t
Description
The Property unitsText attribute is a text description of the units in which the value is expressed.
Type
String; read-only.
Property value attribute
a p p.p ro j e c t . i t e m ( i n d e x ) . l ay e r ( i n d e x ) . p ro p e r t y ( n a m e ) .value
Description
The Property value attribute contains the value of the property at the current time. If expressionEnabled is
true, value returns the evaluated expression value; if there are keyframes, value returns the keyframed value at
the current time; in all other cases, value returns the static value for the property.
The type of value returned depends on the propertyValueType of the stream.
Type
Dependent on stream being evaluated; read-only.
Examples
See "Getting and setting the value of an opacity" on page 132, "Getting and setting the value of a position" on
page 133, and "Changing the value of a mask shape to be open instead of closed" on page 133 under Property
Object Examples.
Property valueAtTime() method
a p p.p ro j e c t . i t e m ( i n d e x ) . l ay e r ( i n d e x ) . p ro p e r t y ( n a m e ) .valueAtTime( t ime, preEx pression )
Using Help
floating point value; an array of times at which to set keyframes
propertyValueType; an array of values appropriate for the type of property being set
Reference
Back
149
Back
149

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents