MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 603

Director scripting reference
Table of Contents

Advertisement

- (subtraction)
Usage
-- Lingo syntax
vector1 - vector2
vector - scalar
// JavaScript syntax
vector1 - vector2
vector - scalar
Description
3D vector operator; subtracts the components of
of
, or subtracts the scalar value from each of the components and returns a new vector.
vector1
-
vector1
vector2
and returns a new vector.
vector1
-
vector
scalar
returns a new vector.
* (multiplication)
Usage
-- Lingo syntax
vector1 * vector2
vector * scalar
transform * vector
// JavaScript syntax
vector1 * vector2
vector * scalar
transform * vector
Description
3D vector operator; multiplies the components of
, and returns the dot product, or multiplies each of the components the vector by the
vector2
scalar value and returns a new vector.
*
vector1
vector2
operation is the same as
*
vector
scalar
a new vector.
*
transform
vector
vector is the result of applying the positional and rotational changes defined by
. Note that
vector
See also
dotProduct()
subtracts the values of
subtracts the value of the scalar from each of the components in the vector and
returns the dot product of the two vectors, which is not a new vector. This
.
vector1
dotproduct
multiplies each of the components in the vector by the scalar value and returns
multiplies the
transform
*
vector
transform
from the corresponding components
vector2
from the corresponding components in
vector2
by the corresponding components in
vector1
.
vector2.
by the
vector
is not supported.
and returns a new vector. The new
transform
* (multiplication)
to the
603

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents