Go to:
Return value. Related commands. Flags. Examples.
Synopsis
listCameras [flags]
Command to list all cameras. If no flags are given, both
perspective and orthographic cameras will be displayed. This
command returns an array of camera names. When the transform name
uniquely identifies the camera it is used, otherwise the shape
name will be returned.
Return value
string[]
Related commands
camera, cameraView, dolly, lookThru, orbit, roll, track, tumble, viewCamera, viewClipPlane, viewFit, viewHeadOn, viewLookAt, viewPlace, viewSetFlags
orthographic, perspective
| Long name (short name) | [argument types] | Properties |
|---|
-perspective
(-p)
| | |
|
Display all perspective cameras.
|
|
-orthographic
(-o)
| | |
|
Display all orthographic cameras.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command
|
Examples
// List all cameras
listCameras;
// List all persp cameras
string $perspCameras[] = `listCameras -p`;