Syntax

dbDeleteObject(ObjectID)

Description

This command will delete the specified 3D object previously loaded. The parameter should be specified using an integer value. When you delete an object, or create for that matter, the engine must recalculate an internal list used for texture sorting, which will make a performance hit on the CPU. It is therefore recommended that you avoid creation/deletion code in your time critical loops such as the main game loop.

See Also

dbCloneObject, dbDeleteObjects, dbInstanceObject, dbLoadObject, dbObjectExist, dbSaveObject