ADOBE AFTER EFFECTS 7.0
User Guide
581
Returns the x rotation value, in degrees, for a 3D layer.
rotationY
Return type: Property [1].
Returns the y rotation value, in degrees, for a 3D layer.
rotationZ
Return type: Property [1].
Returns the z rotation value, in degrees, for a 3D layer.
lightTransmission
Return type: Property [1].
Returns the value of the Light Transmission property for a 3D layer.
castsShadows
Return type: Property.
Returns a value of 1.0 if the layer casts shadows.
acceptsShadows
Return type: Property.
Returns a value of 1.0 if the layer accepts shadows.
acceptsLights
Return type: Property.
Returns a value of 1.0 if the layer accepts lights.
ambient
Return type: Property.
Returns the ambient component value as a percentage.
diffuse
Return type: Property.
Returns the diffuse component value as a percentage.
specular
Return type: Property.
Returns the specular component value as a percentage.
shininess
Return type: Property.
Returns the shininess component value as a percentage.
metal
Return type: Property.
Returns the metal component value as a percentage.
Layer Space Transforms methods
toComp(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 layer space to composition space. Example:
to C omp ( an ch or Poi nt )
.
fromComp(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 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:
f rom C omp ( t h i s C omp. l aye r ( 2 ) . p o s it i on )
.
toWorld(point, t=time)
Return type: Array [2 or 3].
Argument type:
point
is an Array [2 or 3], and
t
is a Number.