Skip to content

: draw 3d aabb

Draw a AABB (aka a cuboid)

Usage: : draw 3d aabb [OPTIONS] <RECT>...

Arguments

Name Description Possible values Default
<RECT> Bounds of the rectangle/box to draw, in the form of an expression that returns a Rect2 or AABB or Node, e.g. r2(v2(100, 200), v2(500, 600))

Options

Name Description Possible values Default
-t
--time
The lifetime of the rectangle/box, in seconds (0 = only drawn for one frame) 1
-c
--color
Color of the rectangle/box green