VectorArtist.draw

VectorArtist.draw(color=None, point=None, show_point=False)[source]

Draw the vector.

Parameters
  • color (tuple[float, float, float] | tuple[int, int, int] | Color, optional) – The RGB color of the vector. The default color is compas.artists.PrimitiveArtist.color.

  • point ([float, float, float] | Point, optional) – Point of application of the vector. Default is Point(0, 0, 0).

  • show_point (bool, optional) – If True, draw the point of application of the vector.

Returns

list[bpy.types.Object]