Description :
This instruction sets a particular triangle in a mesh.
Should the mesh already have been generated (using the instruction mesh.generate), it will not be generated again. Therefore, after using this instruction you will have to "generate" the mesh once more.
The positions of the vertices must be indexed clockwise.
Parameters :
-
ObjectID of the mesh.
-
Index of the triangle. Valid in the range [0, MeshNumberOfTriangles - 1].
-
Index of the first vertex.
-
Index of the second vertex.
-
Index of the third vertex.
Return Value :
-
Boolean value, TRUE if the instruction is executed with no error, FALSE otherwise.
Examples :
|