SetObjectDepthReadMode

Description

Sets the depth read mode when drawing this object to the screen. The object must pass the the depth test in order to be visible. The available options are 0=never pass, 1=less than, 2=equal, 3=less than or equal, 4=greater than, 5=not equal, 6=greater than or equal, 7=always pass. By default all objects use the mode 1 (less than) which means they must be closer than any objects already drawn to be visible.

Definition

SetObjectDepthReadMode( objID, mode )

Parameters