Class: Mesh
Lua
C++
Edit

Mesh::AddPrimitive

This method add a single line, triangle, or quad to the mesh.

Syntax

Parameter Description
a, b, c, d vertex indices

Returns

Returns the index of the new primitive.

Remarks

THe number of arguments must match the mesh primitive type.

Copyright © 2024 Ultra Software.
All rights reserved.