EasyManua.ls Logo

Adobe AFTER EFFECTS 7.0 - Camera Attributes and Methods

Adobe AFTER EFFECTS 7.0
684 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADOBE AFTER EFFECTS 7.0
User Guide
582
Transforms a point from layer space to view-independent world space. Example: toWorld.effect("Bulge")("Bulge
Center")
fromWorld(point, t=time) Return type: Array [2 or 3].
Argument type: point is an Array [2 or 3], and t is a Number.
Transforms a point from world space to layer space. Example:
fromWorld(thisComp.layer(2).position)
toCompVec(vec, t=time) Return type: Array [2 or 3].
Argument type: vec is an Array[2 or 3], and t is a Number.
Transforms a vector from layer space to composition space. Example:
toCompVec([1, 0])
fromCompVec(vec, t=time) Return type: Array [2 or 3].
Argument type: vec is an Array[2 or 3], and t is a Number.
Transforms a vector from composition space to layer space. Example (2D layer):
dir=sub(position, thisComp.layer(2).position); fromCompVec(dir)
toWorldVec(vec, t=time) Return type: Array [2 or 3].
Argument type: vec is an Array[2 or 3], and t is a Number.
Transforms a vector from layer space to world space. Example:
p1 = effect("Eye Bulge 1")("Bulge Center"); p2 = effect("Eye Bulge 2")("Bulge Center"); toWorld(sub(p1, p2))
fromWorldVec(vec, t=time) Return type: Array [2 or 3].
Argument type: vec is an Array [2 or 3], and t is a Number.
Transforms a vector from world space to layer space. Example:
fromWorld(thisComp.layer(2).position)
fromCompToSurface(point, t=time) Return type: Array [2].
Argument type: point is an Array [2 or 3], and t is a Number.
Projects a point located in composition space to a point on the surface of the layer (zero z-value) at the location where
it appears when viewed from the active camera. This is useful for setting effect control points. Use with 3D layers
only.
Camera attributes and methods
Camera objects have the same attributes and methods as Layer objects, except for source, effect, mask, width,
height, anchorPoint, scale, opacity, audioLevels, timeRemap, and all of the material properties.
pointOfInterest Return type: Property [3].
Returns the cameras point of interest values in world space.
zoom Return type: Property.
Returns the cameras zoom values in pixels.
depthOfField Return type: Property.
Returns 1 if the cameras Depth Of Field property is on, or returns 0 if it is off.
focusDistance Return type: Property.
Returns the cameras focus distance values, in pixels.

Table of Contents

Related product manuals