Adobe AFTER EFFECTS CS3 PROFESSIONAL User Manual page 574

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

Advertisement

Returns the layer-time marker that is nearest in time to t. For example, this expression returns the time of the marker
on the layer nearest to the time of 1 second:
marker.nearestKey(1).time
This expression returns the time of the marker on the layer nearest to the current time:
marker.nearestKey(time).time
Return type: Number.
marker.numKeys
Returns the total number of markers on the layer.
Return type: String.
name
Returns the name of the layer.
Layer 3D attributes and methods
Return type: Property [3].
orientation
Returns the 3D orientation value, in degrees, for a 3D layer.
Return type: Property.
rotationX
Returns the x rotation value, in degrees, for a 3D layer.
Return type: Property.
rotationY
Returns the y rotation value, in degrees, for a 3D layer.
Return type: Property.
rotationZ
Returns the z rotation value, in degrees, for a 3D layer.
Return type: Property.
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.
AFTER EFFECTS CS3
568
User Guide

Advertisement

Table of Contents
loading

Table of Contents