Drawing_Z
Last Modified: May 29, 2005 23:05PM
|
|
| (Any)
|
Description
DRAWING_Z ( Z )
It activates the persistent way in the functions of drawing of primitive and chooses the depth level to use
PARAMETERS
INT Z : Depth Value, indicative of the order of drawing
DESCRIPTION
By default, the drawing functions act on the bottom of screen or the graph specified in the last call to the function Drawing_Map. Nevertheless, a call to this function will activate alternative mode operation, in which the primitive graphs (drawn with the functions that begin by DRAW) persist in screen, being redrawn each frame.
Like a process, these primitive graphs are drawn with a predetermined Z coordinate, that it allows that there are drawn processes superficially or underneath them. This function, besides to activate this way, allows you to choose the Z coordinate that will be applied to all the primitive graphs drawn after calling it.
In order to be able to draw objects with different Z coordinates, each objects Z coordinate must be chosen at the moment at which it was created. It is possible, therefore, to make several calls to Drawing_Z between calls to drawing functions to be able to change the value of the Z coordinate with which to be creating new objects.
The objects created with primitive graph functions can be manipulated by means of functions Move_Draw and Delete_Draw.
In order to deactivate this mode and to return to directly make drawings on the bottom from screen or another graph, it is precise to make a call to the function Drawing_Map.
|
User Contributed Notes Drawing_Z |
|
| There are no user contributed notes for this page. |
| Last updated: Mon, 30 May 2005 - 10:33:06 |
|
|