Skip to content

types.world_line_drawable

A drawable 3D line

Functions

point(x : number, y : number, z : number, opt_color : types.color): types.world_line_drawable

Adds a point to the line

  • x (number) The x position
  • y (number) The y position
  • z (number) The z position
  • opt_color (types.color) (optional) The color for this point

color(color : types.color): types.world_line_drawable

Sets the default color for new points

insert(canvas : types.world_canvas)

Inserts the drawable into a world canvas