View120
- class compas_view2.views.View120(app, background_color=(1, 1, 1, 1), selection_color=(1.0, 1.0, 0.0), mode='shaded', show_grid=True)[source]
Bases:
ViewView widget for OpenGL version 2.1 and GLSL 120 with a Compatibility Profile.
Methods
Sort objects by the distances from their bounding box centers to camera location
Inherited Methods
Clear the view.
Initialize the OpenGL canvas.
Callback for the mouse move event.
Paint the OpenGL canvas.
Resize the OpenGL canvas.