graphics.drawPrimitive3D

Revision as of 12:07, 14 December 2019 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = function |name = graphics.drawPrimitive3D |usage = draw a primitve in 3D space |parameters = array<Vec3> positions, array<int> colours,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png 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.