A triangle, consisting of three MeshVertex. Used in a MeshCreator. Cannot be part of more than one MeshCreator.
More...
A triangle, consisting of three MeshVertex. Used in a MeshCreator. Cannot be part of more than one MeshCreator.
§ MeshTriangle()
Creates a new triangle.
- Parameters
-
a | The first vertex in clockwise order. |
b | The second vertex in clockwise order. |
c | The third vertex in clockwise order. |
§ Update()
Convenience method to update all three vertices at once.
- Parameters
-
a | The first vertex in clockwise order. |
b | The second vertex in clockwise order. |
c | The third vertex in clockwise order. |
§ MeshVertices
MeshVertex [] UnityUtilities.MeshTriangle.MeshVertices |
|
get |
The three vertices that make up this triangle in clockwise order.
The documentation for this class was generated from the following file:
- MeshCreator/MeshTriangle.cs