Adobe AFTER EFFECTS 7.0 Manual page 578

Table of Contents

Advertisement

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 parameter, which defaults to the frame rate of the current composition
(
t h i s C omp. f r ame D u r at i on
sents 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
t i meToFrames
have to be an integer. See
t i meToFrames
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 parameters. 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
parameters. If ntscDropFrame is false (the default), the result String is NTSC non-drop timecode. If ntscDropFrame
is true, the result String is NTSC dropframe timecode.
timeToFeetAndFrames(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, framesPerFoot =
Return type: String.
16, isDuration = false)
Argument type: t, fps, and framesPerFoot are Numbers; isDuration is a Boolean.
Converts the value of t to a String representing feet of film and frames. See
t, fps, and isDuration parameters. The framesPerFoot parameter specifies the number of frames in one foot of film. It
defaults to 16, which is the most common rate for 35mm footage.
timeToCurrentFormat(t = time + thisComp.displayStartTime, fps = 1.0 / thisComp.frameDuration, isDuration = false)
Return type: String.
Argument type: t and fps are Numbers; isDuration is a Boolean.
Converts the value of t to a String representing time in the current Project Settings display format. See
for a definition of all of the parameters.
If you want more control over the look of timecode in your footage, use the
generate the timecode instead of using the Timecode or Numbers effect. Create a text layer, add an expression to the
Source Text property, and enter
and animate the timecode text. In addition, the timecode uses the same display style defined by the current project
settings.
). The isDuration parameter, which defaults to false, should be true if the t value repre-
. Returns the time corresponding to the frames parameter, which is required. It doesn't
for explanation of the fps parameter.
timeToCur rentFor mat
Return type: Number.
for an explanation of the t and
t i me ToFr ames
for an explanation of the t and isDuration
t i me ToFr ames
t i me To Fr ames
time To Cur rent For mat
in the expression text box. This method enables you to format
ADOBE AFTER EFFECTS 7.0
User Guide
Return type: String.
Return
for an explanation of the
t i me To Fr ames
expression to
572

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents