graphics.drawPrimitive3D
Jump to navigation
Jump to search
Function
Client Only
Online and Offline
Available since Client 1.0.0
void graphics.drawPrimitive3D(array<Vec3> positions, array<int> colours, array<Vec2> uvs, array<int> indices)
The graphics.drawPrimitive3D function is used to draw a primitve in 3D space.
Parameters
1) | array<Vec3> | positions | The vertex positions for the primitve. |
2) | array<int> | colours | The vertex colours for the primitve. |
3) | array<Vec2> | uvs | The vertex UV coordinates for the primitve. |
4) | array<int> | indices | The vertex indices for the primitve. |
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.