Command
deleteLight
(
)
name
deleteLight
(
)
index
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.
The following commands and properties can be used to perform basic camera operations:
Command
camera.count
(
)
camera
name
[
]
camera
index
newCamera
(
)
name
deleteCamera
(name)
deleteCamera
(
)
index
Function
Deletes the light named name. Lingo references to
this light persist but can do nothing.
Deletes the light with the given index number. Lingo
references to this light persist but can do nothing.
Function
Returns the number of camera objects included in
the cast member.
Returns the camera named name.
Returns the camera at the designated position in
the index. The index number can change if cameras
are added or deleted.
Creates a new camera and adds it to the
camera object list.
Deletes the camera named name. Lingo references
to this camera persist but can do nothing.
Deletes the camera with the given index number.
Lingo references to this camera persist but can do
nothing.
Returns
TRUE (1) if the light named name
exists. FALSE (0) if the light
named name doesn't exist.
TRUE (1) if the light with this index
number exists. FALSE (0) if the
light with this index number doesn't
exist.
Returns
Integer.
Returns the camera object named
name if it exists. Returns void if the
object does not exist.
Returns the camera object at that
index number if it exists. Returns
void if the object does not exist at
that index number.
Returns a new camera object with
a unique name. If the name isn't
unique, returns a Lingo error.
TRUE (1) if the camera named
name exists. FALSE (0) if
the camera named name doesn't
exist.
TRUE (1) if the camera with this
index number exists. FALSE (0) if
the camera with this index number
doesn't exist.
The 3D Cast Member, 3D Text, and 3D Behaviors 461
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers