TagObject

class TagObject[source]

Bases: ViewerSceneObject, GeometryObject

The scene object of the viewer tag geometry. Unlike compas_viewer.scene.TextObject, tag object is a sprite always facing the camera.

Parameters:
tagcompas_viewer.scene.Tag

The tag geometry.

**kwargsdict, optional

Additional options for the compas_viewer.scene.ViewerSceneObject.

Methods

draw

Draw the object from its buffers

make_buffers

Create all buffers from object's data

make_text_texture

Inherited Methods

add

Add a child item to the scene object.

clear

Clear the object

draw_instance

Draw the object instance for picking

init

Initialize the object

make_buffer_from_data

Create buffers from point/line/face data.

update

Update the object

update_buffer_from_data

Update existing buffers from point/line/face data.

update_buffers

Update all buffers from object's data