3D_DELETE_ALL

3D_DELETE_ALL

DELETES ALL THE 3D OBJECTS

  • Type: Command
  • Parameter: 0
  • Group: 3D Objects

ACTION

The command 3D_DELETE_ALL deletes all the existing 3D objects.

The numbers become free again and can be reused to create new 3D objects.

SYNTAX: 3D_DELETE_ALL

USE

  • The command is used to delete a lot of 3D objects without using their numbers.

ERROR

  • None.

EXAMPLE

rem create a 3D world

scene3d 1

rem resize the 3D world

width 1,300:height 1,300

rem place the camera

cam_position 5,10,20

rem create 4 cubes

3d_cube 1,1.2:3d_x_position 1,-2

3d_cube 2,1.2:3d_x_position 2,2

3d_cube 3,1.2:3d_y_position 3,-2

3d_cube 4,1.2:3d_y_position 4,2

rem wait 2 seconds

wait 2000

rem delete all

3d_delete_all

SEE ALSO

3D_ACTOR

3D_BOX

3D_CONE

3D_CUBE

3D_CYLINDER

3D_DELETE

3D_DODECAHEDRON

3D_LINE

3D_MESH

3D_SPHERE

3D_TEAPOT

3D_TEXT

3D_TORUS