ENABLE OBJECT ZWRITE This command will enable the Z write state of the object.
Syntax
    ENABLE OBJECT ZWRITE Object Number
Parameters
    Object Number
Integer Specify an object number between 1 and 2415919103.
Returns
This command does not return a value.
Description
The Z write state controls whether each pixel of the rendered object writes into the Z depth buffer. The default value is enabled, where the object writes pixels to the Z buffer only when a pixel of the object is successfully rendered to the screen.
Example Code
    set display mode 800,600,32

    cls

    make object sphere 1,20

    ENABLE OBJECT ZWRITE 1

    do

    loop

    end
See also
BASIC3D Commands Menu Index