Canvas
The canvas management object.
Functions
Draws a basis spline on the canvas.
Draws a Catmull-Rom spline on the canvas.
Draws a cubic bezier spline on the canvas.
Draws a cylinder's wires in 3D space.
Draws a cylinder in 3D space with differing start and end points between bases.
Draws a 3D bounding box on the canvas.
Draws a 3D mesh on the canvas with identity transform (at origin).
Draws multiple instances of a 3D mesh on the canvas.
Draws a 3D mesh on the canvas.
Draws a 3D mesh on the canvas with position, rotation, and scale.
Draws a 3D model on the canvas.
Draws a 3D model on the canvas with extended parameters.
Draws the wires of a 3D model on the canvas.
Draws the wires of a 3D model on the canvas with extended parameters.
Draws a cylinder in 3D space.
Draws a cylinder in 3D space with differing start and end points between bases.
Draws a filled rectangle with a gradient on the canvas.
Draws a filled rectangle with a four-corner gradient on the canvas.
Draws a linear spline on the canvas.
Draws a quadratic bezier spline on the canvas.
Draws a rounded rectangle outline on the canvas.
Sets the background color of the canvas.
Sets the line spacing for text rendering on the given canvas.
Starts using the given shader for 3D drawing on the canvas.
Stops using the current shader for 3D drawing on the canvas.
Draws a triangle fan on the canvas.
Draws a triangle strip on the canvas.
Draws a triangle strip in 3D space.