|
d3d_set_depth(depth) |
|
Note: All 3D functions are restricted to registered users only.
depth = integer value
When you are drawing multiple primitives in code, you may want to draw something at a particular depth. You can use this function to temporarily set the depth for drawing to the value you assign.
Example #1:
Example #2:
Be aware that at the moment a new instance is drawn the depth is again set to the depth of that instance.
monkey dude - Revision #1 |