Skip to content

types.world_box_drawable

A drawable 3D box

Functions

min(x : number, y : number, z : number): types.world_box_drawable

Sets the minimum position

  • x (number) The x position
  • y (number) The y position
  • z (number) The z position

max(x : number, y : number, z : number): types.world_box_drawable

Sets the maximum position

  • x (number) The x position
  • y (number) The y position
  • z (number) The z position

fill_color(color : types.color): types.world_box_drawable

Sets the fill color

outline_color(color : types.color): types.world_box_drawable

Sets the outline color

insert(canvas : types.world_canvas)

Inserts the drawable into a world canvas