Use the following methods to work with 3D sprites:
|
Method |
Description |
Returns |
|---|---|---|
|
camera(index) |
Accesses a specific camera in the sprites list of views. |
The camera requested |
|
addCamera(camera, index) |
Adds a camera named camera at the specified index number. If the index number is greater than the number of cameras in the sprites camera count, or if there is no index, the camera is added to the end of the list. |
An error if a camera of that name cant be found |
|
deleteCamera |
If cameraOrIndex is a camera, the camera by that name is deleted. If cameraOrIndex is an index number, the camera at that index number is deleted. In either case, the cameras after cameraOrIndex move forward in the list and the camera count is decreased by 1. |
An error if a camera of that name or index number cant be found |
|
cameraCount() |
Returns the number of cameras in the sprites cameraList. |
An integer |