Adobe ATMOSPHERE User Manual page 356

Table of Contents

Advertisement

344
APPENDIX E
(Note that within a Viewpoint scene, the 'Z' coordinate is reversed for position. Therefore, if a Viewpoint scene
contains multiple instances, moving those instances relative to each other will require using an inverted Z value as
compared to the normal Atmosphere coordinate system.)
Properties
position / location
contains the position for the instance as an array of three values. (The identical property 'location' is also
maintained for backward compatibility.)
instance.location = [1.0, 2.0, 1.0];
rotationAnglesInDegrees
contains the rotation angles in degrees as an array of three values.
instance.rotationAnglesInDegrees = [xAngle, yAngle, zAngle];
rotationAnglesInRadians
contains the rotation angles in radians as an array of three values.
instance.rotationAnglesInRadians = [xAngle, yAngle, zAngle];
opacity
contains the opacity values (1 - transparency). Note that opacity is not recursive down the instance tree, but
applies only to the instance which is directly set.
instance.opacity = 0.75;
remove
is set to remove the object from the scene during rendering.
instance.remove = true;
scale
contains the scale factors along x, y and z as an array of three values.
instance.scale = [xScale, yScale, zScale];
visible
contains the fl ag for whether the object is drawn. Note that visibility is not recursive down the instance tree, but
applies only to the instance which is directly set.
instance.visible = false;
prelite
controls whether the edge highlight (prelite) of a geometry is visible.
instance.prelite = true;
preliteColor
controls the preliteColor in an array of three values.

Advertisement

Table of Contents
loading

Table of Contents