View.paintGL
- View.paintGL()[source]
Paint the OpenGL canvas.
This implements the virtual funtion of the OpenGL widget. See the PySide2 docs [1] for more info.
To extend the behaviour of this function, you can implement
paint()
.Notes
This method also paints the instance map used by the selector to identify selected objects. The instance map is immediately cleared again, after which the real scene objects are drawn.
References