MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 486

Table of Contents

Advertisement

Command
translate
(
xIncrement,
yIncrement,
zIncrement,
)
relativeTo
translate
(
direction
)
Vector, relativeTo
translate
(x,y,z,
relativeTo
)
rotate(
x,y,z, relativeTo
rotate (
position, axis,
)
angle, relativeTo
scale(
uniform
)
Scale
scale(
x, y, z)
pointAt(
world
)
Position, worldUp
getWorld
Transform()
486
Chapter 19
Description
Moves the model forward by
yIncrement
axis,
along the y-axis, and
along the z-axis.
relativeTo
The
parameter is optional. It determines
how arguments are interpreted. The possible values are as
follows:
#self
: the default. Increments are applied relative to the
model's local coordinate system.
#parent
: increments are relative to the model's parent's
coordinate system.
#world
: increments are relative to the world coordinate
#parent
system. Equivalent to
node (model, light, camera, or group): increments
are relative to the coordinate system of the
argument object.
Moves the model directionVector.length() in the direction
directionVector
of the vector
argument is optional and defaults to
Moves the model distance
along the y-axis, and distance z along the z-axis. The
relativeTo
argument is optional and defaults to
#self
.
This command can also be written as
translate(vector(x,y,z) relativeTo)
)
°
Rotates the model by x
°
y-axis, and z
around the z-axis.
relativeTo
The
argument is optional and defaults to
#self
. If included, it defines the coordinate space of the
axes.
This command can also be written as
rotate(vector(x,y,z) relativeTo)
Rotates the model around the axis vector in the specified
position the specified number of degrees. The
relativeTo
argument is optional and defaults to
#self
.
Scales the model the same amount in all directions.
Scales the model by a factor of
z
the y dimension, and
in the z dimension. Scaling is
applied in object-relative space.
Rotates the model until it points at the world-relative
worldPosition
position
argument gives the general position of the model's
Up axis. The exact position can't be determined using this
method.
Both the object-relative axes are defined by the
pointAtOrientation
object-relative forward direction of vector (
object-relative up direction of vector (
Calculates and returns a transform that converts object-
relative positions for this model into world-relative
positions.
xIncrement
along the x-
zIncrement
if parent is the world.
relativeTo
. The
#self
.
x
along the x-axis, distance y
.
°
around the x-axis, y
around the
.
x
in the x dimension,
worldUp
. The optional
property. Default values are an
0
0
-1
,
,
) and an
0
1
0
,
,
).
Returns
Nothing
Nothing
Nothing
Nothing
Nothing
Nothing
y
in
Nothing
Nothing
A transform object

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx

Table of Contents