What's New in Director 8.5 > The 3D Cast Member > Cameras |
![]() ![]() ![]() |
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 |
Function |
Returns |
---|---|---|
|
Returns the number of camera objects included in the cast member. |
Integer. |
|
Returns the camera named |
Returns the camera object named |
|
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 |
|
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. |
|
Deletes the camera named |
|
|
Deletes the camera with the given index number. Lingo references to this camera persist but can do nothing. |
|
![]() ![]() ![]() |