MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 484

Table of Contents

Advertisement

Property
visibility
debug
bounding
Sphere
world
Position
pointAt
Orientation
Model commands
Use these commands to work with models:
Command
addChild(
aNode,
)
preserveWorld
child[
]
index
child(
)
name
484
Chapter 19
Access
Description
Get and set
The way in which the sides of the model's resource
are drawn. The choices are as follows:
#none
model is invisible.
#front
surface of the model are drawn, so that, if the
camera were inside the model, the model wouldn't
be seen. Also known as "back face culling," this
option optimizes performance.
#back
object are drawn, so that if the camera were outside
the model, the model wouldn't be seen.
#both
model is visible regardless of orientation. This may
solve drawing problems, but it can also affect
performance because twice as many polygons
must be drawn.
The default is
Get and set
Value indicating whether debug information is
drawn for this model. If the value is
lines from the x, y, and z axes are drawn sprouting
up from the model to indicate its orientation, and a
bounding sphere is drawn around the model.
Get
A list containing a vector and a floating-point value.
The vector represents the position of the model in
world space, and the floating-point value
represents the radius of the bounding sphere that
contains the model and its children.
Get
Position of the model in world coordinates. A quick
shortcut for
model.getWorldTransform().
position
Get and set
A list of two orthogonal vectors,
objectRelativeDirecton,
[
objectRelativeUp
model's
Description
aNode
Adds
to this model's list of children. An equivalent
aNode.parent
operation is to set
model
.
preserveWorld
The
#preserveWorld
two values:
#preserveWorld
If the value is
transform of the child being added remains intact. If the
#preserveParent
value is
existing transform is interpreted as parent-relative.
Returns the child at the specified position in the index.
Returns the child named
, in which no polygons are drawn and the
, in which only polygons on the outer
, in which only polygons on the inside of the
, in which all polygons are drawn and the
#front
.
.
], that control how the
pointAt()
method works.
this
to equal
argument is optional. It can have
#preserveParent
or
, the default, the world
, the child's
name
.
Value
#none:
#front
#back
#both
TRUE (1)
TRUE (1)
FALSE (0)
,
default is
(0)
.
bounding
Sphere
world
Position
pointAt
Orientation
Returns
Nothing
.
Node object
Node object
or
. The
FALSE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents