Vizard 8 » Command Index » Vizard objects » window » <window>.getDrawOrder
8.0

<window>.getDrawOrder

Returns the draw order of the window.

<window>.getDrawOrder()  

Remarks

This command will return the draw order of the window. The render order of windows is based on the draw order. A lower value means the window will be rendered earlier than higher values. The default value is 0.

Return Value

The draw order of the window.

Example

floor = viz.add('tut_ground.wrl')
window = viz.addWindow()
window.drawOrder(2)
print(window.getDrawOrder()) #Prints 2