Adobe AFTER EFFECTS CS3 PROFESSIONAL User Manual page 568

Hide thumbs Also See for AFTER EFFECTS CS3 PROFESSIONAL:
Table of Contents

Advertisement

Argument type: t, tMin, and tMax are Numbers, and value1 and value2 are Numbers or Arrays.
Similar to
, except that the tangent is 0 only on the tMax side and interpolation is linear on the tMin side.
ease
See also
"Interpolation" on page 205
"Automatically ease speed" on page 218
Color Conversion methods
Return type: Array [4].
rgbToHsl(rgbaArray)
Argument type: rgbaArray is an Array [4].
Converts a color in RGBA space to HSLA space. The input is an Array of normalized red, green, blue, and alpha
channel values, all in the range of 0.0 to 1.0. The resulting value is an Array of hue, saturation, lightness, and alpha
channel values, also in the range of 0.0 to 1.0. Example:
rgbToHsl.effect("Change Color")("Color To Change")
Return type: Array [4].
hslToRgb(hslaArray)
Argument type: hslaArray is an Array [4].
Converts a color in HSLA space to RGBA space. This is the opposite of
Other Math methods
degreesToRadians(degrees)
Argument type: degrees is a Number.
Converts degrees to radians.
radiansToDegrees(radians)
Argument type: radians is a Number.
Converts radians to degrees.
Comp attributes and methods
Return type: Layer, Light, or Camera.
layer(index)
Argument type: index is a Number.
Retrieves the layer by number (order in the Timeline panel). Example:
Return type: Layer, Light, or Camera.
layer(name)
Argument type: name is a String.
Retrieves the layer by name. Names are matched by layer name, or source name if there is no layer name. If duplicate
names exist, After Effects uses the first (topmost) one in the Timeline panel. Example:
thisComp.layer("Solid 1")
layer(otherLayer, relIndex)
Argument type: otherLayer is a Layer object, and relIndex is a Number.
Return type: Number.
Return type: Number.
Return type: Layer, Light, or Camera.
.
rgbToHsl
thisComp.layer(3)
AFTER EFFECTS CS3
562
User Guide

Advertisement

Table of Contents
loading

Table of Contents