FANDOM



This command will delete a current camera from the scene.

Syntax
DELETE CAMERA Camera Number
Parameters
Camera Number

Integer
The camera number

Returns

This command does not return a value.

Description

You must specify an existing camera number using an integer value.

Example Code
autocam on:backdrop off

make matrix 1,4000,4000,100,100

set matrix height 1,50,50,500

update matrix 1

make camera 1

point camera  1,0,0,0

while mouseclick()<>1

set cursor 0,0 

x#=x#+mousemovey() : y#=y#+mousemovex() : z#=z#+mousemovez()

rotate camera  1,x#,y#,z#

endwhile

while mouseclick()=1 : endwhile

color backdrop rgb(128,0,0):backdrop on:delete matrix 1:autocam off:delete camera 1

end