draw Mesh
Draws a 3D mesh on the canvas with position, rotation, and scale.
Parameters
The mesh to draw.
The material to apply to the mesh.
The X position of the mesh.
The Y position of the mesh.
The Z position of the mesh.
The X axis of rotation.
The Y axis of rotation.
The Z axis of rotation.
The angle of rotation in degrees.
The X scale of the mesh.
The Y scale of the mesh.
The Z scale of the mesh.
Draws a 3D mesh on the canvas with position, rotation, and scale.
Parameters
The mesh to draw.
The material to apply to the mesh.
The position of the mesh as a Triple of floats (x, y, z).
The axis of rotation as a Triple of floats (x, y, z).
The angle of rotation in degrees.
The scale of the mesh as a Triple of floats (sx, sy, sz).
Draws a 3D mesh on the canvas.
Parameters
The mesh to draw.
The material to apply to the mesh.
The transformation matrix to apply to the mesh.
Draws multiple instances of a 3D mesh on the canvas.
Parameters
The mesh to draw.
The material to apply to the mesh.
The transformation matrices to apply to each instance of the mesh.
Draws multiple instances of a 3D mesh on the canvas.
Parameters
The mesh to draw.
The material to apply to the mesh.
The list of transformation matrices to apply to each instance of the mesh.
Draws a 3D mesh on the canvas with identity transform (at origin).
Parameters
The mesh to draw.
The material to apply to the mesh.