Adobe 12040118 - After Effects Standard Using Manual page 148

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

Advertisement

Help
Using Help
Parameters
newValue
Returns
None.
Property setValueAtKey() 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 ) .setValueAtKe y ( ke y In d e x , n e w Va l u e )
Description
The property setValueAtKey method finds the keyframe with the given keyIndex and sets the value at that
keyframe.
If the property has no keyframes, or no keyframe with the given keyIndex, this method generates an exception
and an error is displayed.
The type of value to use as an argument depends on the propertyValueType.
Parameters
ke yIndex
newValue
Returns
None.
Property setValueAtTime() 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 ) .setValueAtTime( t im e, ne wValue )
Description
The property setValueAtTime method creates a keyframe at the given time (if none exists) and sets the value
at that keyframe.
If no keyframes yet exist, this method creates 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.
The type of value to use as an argument depends on the propertyValueType.
Parameters
t i m e
newValue
Returns
None.
Property setValuesAtTimes() 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 ) .setValuesAtTimes( [t im es], [n e wVa lues] )
Using Help
propertyValueType; a value appropriate for the type of property being set
integer; the index of the keyframe to receive a value
propertyValueType; a value appropriate for the type of property being set
floating point value; the time at which to set a keyframe
propertyValueType; a value appropriate for the type of property being set
Reference
Back
148
Back
148

Advertisement

Table of Contents
loading

This manual is also suitable for:

After effects

Table of Contents