Layer Space Transforms Methods - Adobe AFTER EFFECTS 7.0 Manual

Table of Contents

Advertisement

Returns the x rotation value, in degrees, for a 3D layer.
Return type: Property [1].
rotationY
Returns the y rotation value, in degrees, for a 3D layer.
Return type: Property [1].
rotationZ
Returns the z rotation value, in degrees, for a 3D layer.
Return type: Property [1].
lightTransmission
Returns the value of the Light Transmission property for a 3D layer.
Return type: Property.
castsShadows
Returns a value of 1.0 if the layer casts shadows.
Return type: Property.
acceptsShadows
Returns a value of 1.0 if the layer accepts shadows.
Return type: Property.
acceptsLights
Returns a value of 1.0 if the layer accepts lights.
Return type: Property.
ambient
Returns the ambient component value as a percentage.
Return type: Property.
diffuse
Returns the diffuse component value as a percentage.
Return type: Property.
specular
Returns the specular component value as a percentage.
Return type: Property.
shininess
Returns the shininess component value as a percentage.
Return type: Property.
metal
Returns the metal component value as a percentage.

Layer Space Transforms methods

Return type: Array [2 or 3].
toComp(point, t=time)
Argument type: point is an Array [2 or 3], and t is a Number.
Transforms a point from layer space to composition space. Example:
fromComp(point, t=time)
Argument type: point is an Array [2 or 3], and t is a Number.
Transforms a point from composition space to layer space. The resulting point in a 3D layer may have a nonzero
value even though it is in layer space. Example:
Return type: Array [2 or 3].
toWorld(point, t=time)
Argument type: point is an Array [2 or 3], and t is a Number.
Return type: Array [2 or 3].
f rom C omp(t hisC omp. layer(2).p osit ion)
.
toC omp(anchorPoint )
.
ADOBE AFTER EFFECTS 7.0
581
User Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents