The 3D Cast Member, 3D Text, and 3D Behaviors
461
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:
deleteLight
(
name
)
Deletes the light named
name
. Lingo references to
this light persist but can do nothing.
TRUE (1)
if the light named
name
exists.
FALSE (0)
if the light
named
name
doesn’t exist.
deleteLight
(
index
)
Deletes the light with the given index number. Lingo
references to this light persist but can do nothing.
TRUE (1)
if the light with this index
number exists.
FALSE (0)
if the
light with this index number
doesn’t
exist.
Command
Function
Returns
camera.count
Returns the number of camera objects included in
the cast member.
Integer.
camera
(
name
)
Returns the camera named
name
.
Returns the camera object named
name
if it exists. Returns
void
if the
object does not exist.
camera
[
index
]
Returns the camera at the designated position in
the index. The index number can change if cameras
are added or deleted.
Returns the camera object at that
index number if it exists. Returns
void
if the object does not exist at
that index number.
newCamera
(
name
)
Creates a new camera and adds it to the
camera object list.
Returns a new camera object with
a unique name. If the name isn’t
unique, returns a Lingo error.
deleteCamera
(
name
)
Deletes the camera named
name
. Lingo references
to this camera persist but can do nothing.
TRUE (1)
if the camera named
name
exists.
FALSE (0)
if
the camera named
name
doesn’t
exist.
deleteCamera
(
index
)
Deletes the camera with the given index number.
Lingo references to this camera persist but can do
nothing.
TRUE (1)
if the camera with this
index number exists.
FALSE (0)
if
the camera with this index number
doesn’t exist.
Command
Function
Returns
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...