Adobe AFTER EFFECTS CS3 PROFESSIONAL User Manual page 563

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

Advertisement

Represents the composition time, in seconds, at which the expression is being evaluated.
Return type: Number.
colorDepth
Returns the project's color depth value. For example,
per channel.
posterizeTime(framesPerSecond)
Argument type: framesPerSecond is a Number.
The framesPerSecond value becomes the frame rate from which the rest of the expression operates. This allows you
to set the expression to a frame rate lower than that of the composition. For example, the following expression
updates the property value with a random value once per second:
posterizeTime(1);
random()
Return type: Number, Array, or String.
value
Represents the value at the current time for the property containing the expression.
Time conversion methods
timeToFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false)
Return type: Number.
Argument type: t and fps are Numbers; isDuration is a Boolean.
Converts the value of t, which defaults to the current composition time, to an integer number of frames. The number
of frames per second is specified in the fps argument, which defaults to the frame rate of the current composition
(
1.0 / thisComp.frameDuration
represents a difference between two times instead of an absolute time. Absolute times are rounded down towards
negative infinity; durations are rounded away from zero (up for positive values).
framesToTime(frames, fps = 1.0 / thisComp.frameDuration)
Argument type: frames and fps are Numbers.
The inverse of
timeToFrames
have to be an integer. See
timeToFrames
timeToTimecode(t = time + thisComp.displayStartTime, timecodeBase = 30, isDuration = false)
Argument type: t and timecodeBase are Numbers; isDuration is a Boolean.
Converts the value of t to a String representing timecode. See
isDuration arguments. The timecodeBase value, which defaults to 30, specifies the number of frames in one second.
timeToNTSCTimecode(t = time + thisComp.displayStartTime, ntscDropFrame = false, isDuration = false)
type: String.
Argument type: t is a Number, ntscDropFrame and isDuration are Booleans.
Converts t to a String representing NTSC timecode. See
arguments. If ntscDropFrame is false (the default), the result String is NTSC non-drop-frame timecode. If ntscDrop-
Frame is true, the result String is NTSC drop-frame timecode.
timeToFeetAndFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, framesPerFoot =
Return type: String.
16, isDuration = false)
colorDepth
Return type: Number.
). The isDuration argument, which defaults to false, should be true if the t value
. Returns the time corresponding to the frames argument, which is required. It doesn't
for explanation of the fps argument.
returns 16 when the project's color depth is 16 bits
Return type: Number.
for an explanation of the t and
timeToFrames
for an explanation of the t and isDuration
timeToFrames
AFTER EFFECTS CS3
User Guide
Return type: String.
Return
557

Advertisement

Table of Contents
loading

Table of Contents