BoxObject
-
class
compas_view2.objects.BoxObject(data, **kwargs)[source] Bases:
compas_view2.objects.meshobject.MeshObjectObject for displaying COMPAS box geometry.
Methods
build(data, **kwargs)Build an object class according to its corrensponding data type
create()draw(shader[, wireframe, is_lighted])Draw the object from its buffers
draw_instance(shader[, wireframe])Draw the object instance for picking
edit()init()Initialize the object
make_buffer_from_data(data)Create buffers from point/line/face data.
Create all buffers from object’s data
register(dtype, vtype)Register an object class to its corrensponding data type
update()Update the object
update_buffer_from_data(data, buffer[, …])Update existing buffers from point/line/face data.
Update all buffers from object’s data