LineObject.update_buffer_from_data
- LineObject.update_buffer_from_data(data, buffer, update_positions, update_colors, update_elements)[source]
Update existing buffers from point/line/face data.
- Parameters:
- datatuple[list[
compas.geometry.Point
], list[compas.colors.Color
], list[int]] Contains positions, colors, elements for the buffer.
- bufferdict[str, Any]
The dict with created buffer indexes
- update_positionsbool
Whether to update positions in the buffer dict.
- update_colorsbool
Whether to update colors in the buffer dict.
- update_elementsbool
Whether to update elements in the buffer dict.
- datatuple[list[