Adobe AFTER EFFECTS CS3 PROFESSIONAL User Manual page 564

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

Advertisement

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 arguments. The framesPerFoot argument 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 arguments.
rames
If you want more control over the look of timecode in your footage, use the
methods to generate the timecode instead of using the Timecode or Numbers effect. Create a text layer, add
timeTo
an expression to the Source Text property, and enter
enables you to format and animate the timecode text. In addition, the timecode uses the same display style defined by
the current project settings.
See also
"Change time display units" on page 135
Vector Math methods
Vector Math functions are global methods that perform operations on arrays, treating them as mathematical vectors.
Unlike built-in JavaScript methods, such as
otherwise specified, Vector Math methods are lenient about dimensions and return a value that is the dimension of
the largest Array, filling in missing elements with zeros. For example, the expression
returns
.
[11, 22, 3]
Return type: Array.
add(vec1, vec2)
Argument type: vec1 and vec2 are Arrays.
Adds two vectors.
Return type: Array.
sub(vec1, vec2)
Argument type: vec1 and vec2 are Arrays.
Subtracts two vectors.
Return type: Array.
mul(vec, amount)
Argument type: vec is an Array, amount is a Number.
Multiplies every element of the vector by the amount.
Return type: Array.
div(vec, amount)
Argument type: vec is an Array, amount is a Number.
Divides every element of the vector by the amount.
clamp(value, limit1, limit2)
Argument type: value, limit1, and limit2 are Numbers or Arrays.
timeToCurrentFormat()
, these methods are not used with the
Math.sin
Return type: Number or Array.
for an explanation of the
timeToFrames
method or other
timeToCurrentFormat
in the expression field. This method
prefix. Unless
Math
add([10, 20], [1, 2, 3])
AFTER EFFECTS CS3
558
User Guide
timeToF-

Advertisement

Table of Contents
loading

Table of Contents