RETURNS 1 IF THE 3D OBJECT NUMBER N EXISTS, 0 OTHERWISE
ACTION
The fonction O3D_OBJECT_EXISTS(N) returns 1 the 3D object number N exists and 0 otherwise.
SYNTAX:
Result=O3D_OBJECT_EXISTS(N)
USE ERROR EXAMPLE
rem create a SCENE3D
scene3d 1
rem create a 3D object in the scene3d
3d_teapot 1
rem test if it exists
if o3d_object_exists(1)=1 then caption 0,"the 3D object exists"
O3D_OBJECT_EXISTS()
O3D_OBJECT_EXISTS(N)
SEE ALSO
3D_ACTOR
3D_BOX
3D_CONE
3D_CUBE
3D_CYLINDER
3D_DODECAHEDRON
3D_LINE
3D_MESH
3D_PLANE
3D_SKYBOX
3D_SPHERE
3D_TEAPOT
3D_TEXT
3D_TORUS