Adobe 12040118 Using Help - Page 148
Property setValueAtKey() method, Property setValueAtTime() method, Property setValuesAtTimes()
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 148 highlights
Help Using Help Reference Back 148 Parameters n e w Va l u e propertyValueType; a value appropriate for the type of property being set Returns None. Property setValueAtKey() method app.project.ite m(index).layer(index) . 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 keyIndex n e w Va l u e integer; the index of the keyframe to receive a value propertyValueType; a value appropriate for the type of property being set 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 ime, 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 time n e w Va l u e floating point value; the time at which to set a keyframe propertyValueType; a value appropriate for the type of property being set 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 imes], [ne wValues] ) Using Help Back 148