What it does
DeviceCameraType takes cameraID (an integer), and answers an integer. cameraID is the id of a Camera object, obtained elsewhere in the Image family.
Syntax
DeviceCameraType(cameraID integer) → integerParameters
| Name | Type |
|---|---|
| cameraID | integer |
Every form returns
integer
Example · generated
camera = CreateTweenCamera(1.0)DO Print(DeviceCameraType(camera)) Sync()LOOPCreateTweenCamera is there to give the call something to act on; DeviceCameraType is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.