MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 390

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Property Name
boundingSphere
worldPosition
Camera methods
Use these methods to work with cameras:
Method
addChild(aNode,
preserveWorld)
child[index]
child(name)
clone(name)
cloneDeep(name)
addtoWorld()
removeFrom
World()
390
Chapter 16: Working with Models and Model Resources
Access
Description
Get
A list containing a vector and a
floating-point value, with the vector
representing the position and the
value the radius of a bounding sphere
surrounding the camera and all its
children.
Get and set
Position of the camera in world
coordinates. Shortcut for the method
node.getWorldTransform
().position
Description
Adds
to this camera's list of children. An
aNode
equivalent operation is to set
.
thisCamera
The
argument is optional.I t can have two
preserveWorld
values:
#preserveWorld
is
, the world transform of the child being
#preserveWorld
added remains intact. If
transform is interpreted as remaining parent-relative.
Returns the child at the specified position in the index.
Returns the child named
Clones a camera named
parent's child list, and adds it to the world.
All children of the camera are automatically cloned.This
can be avoided by removing the children, performing
the cloning operation, and then adding the children
back.
If the name is omitted or is
the camera palette, has no parent, and has no children.
This option lets you quickly create temporary camera
instances.
Clones both the camera and all resources used by the
camera's children.
Adds a camera to the currently active 3D world, setting
its parent as
"world"
Equivalent to setting the camera's parent to the world
group.
All newly created cameras are added to the world by
default, without it being necessary to use this method.
For cameras whose parent hierarchy terminates in the
world, this sets their parent to
from the world. Otherwise it does nothing.
.
to equal
aNode.parent
or
. If the value
#preserveParent
, the child's
#preserveParent
.
name
, adds it to the cameras's
name
, the clone isn't added to
""
and removes them
void
Default
[vector (0,0,0),
0.0]
Vector object
Returns
Nothing
Camera object
Camera object
Camera object
Camera object
Nothing
Nothing

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents