Cameras; Groups - Adobe 65036570 - Director - PC User Manual

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

Cameras

Cameras provide different views of the 3D world. A 3D cast member can have many cameras. Each sprite that uses
the cast member can display a different camera view of the 3D world.
Use the following cast member methods and properties to perform basic camera operations:
Method
Function
Returns the number of camera objects included in the
camera.count
cast member.
Returns the camera named
camera(name)
Returns the camera at the designated position in the
camera[index]
index. The index number can change if cameras are
added or deleted.
Creates a new camera and adds it to the
newCamera
(name)
camera object list.
Deletes the camera named
deleteCamera
(
)
this camera persist but can do nothing.
name
Deletes the camera with the given index number.
deleteCamera
(index)
Script references to this camera persist but can do
nothing.

Groups

Groups are collections of models and other objects that are formally associated with one another. These associations
can be created in your 3D modeling software or with script. Each 3D cast member has a default group called world,
which is the cast member.
Groups simplify the rotation and translation of models by letting all members of a group move together with a single
command. A group has a name, a transform, and a parent, and can also have children. It has no other properties.
Use the following cast member methods and properties to perform basic group operations:
Returns
Integer.
.
Returns the camera object named
name
name
object does not exist.
Returns the camera object at that
index number if it exists. Returns
void
that index number.
Returns a new camera object with a
unique name. If the name isn't
unique, returns a script error.
. Script references to
name
TRUE (1)
name
the camera named
exist.
TRUE (1)
index number exists.
the camera with this index number
doesn't exist.
if it exists. Returns
if the
void
if the object does not exist at
if the camera named
exists.
if
FALSE (0)
doesn't
name
if the camera with this
if
FALSE (0)
ADOBE DIRECTOR 11.0
318
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents