graphics.drawQuad3D
Function
Client Only
Online and Offline
Available since Client 1.0.0
void graphics.drawQuad3D(Vec3 position1, Vec3 position2, Vec3 position3, Vec3 position4, int colour1, int colour2, int colour3, int colour4)
The graphics.drawQuad3D function is used to draw a quad in 3D space.
Parameters
1) | Vec3 | position1 | The position of vertex 1 for the quad. |
2) | Vec3 | position2 | The position of vertex 2 for the quad. |
3) | Vec3 | position3 | The position of vertex 3 for the quad. |
4) | Vec3 | position4 | The position of vertex 4 for the quad. |
5) | int | colour1 | The colour of vertex 1 for the quad. |
6) | int | colour2 | The colour of vertex 2 for the quad. |
7) | int | colour3 | The colour of vertex 3 for the quad. |
8) | int | colour4 | The colour of vertex 4 for the quad. |
Return
void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.