Struct TriangleMesh.Triangle
Indices, neighbors, and local-space normal of one mesh triangle.
public struct TriangleMesh.Triangle
- Inherited Members
Constructors
Triangle(int, int, int)
Indices, neighbors, and local-space normal of one mesh triangle.
public Triangle(int a, int b, int c)
Parameters
Fields
IndexA
Indices of the triangle's vertices in Vertices.
public readonly int IndexA
Field Value
IndexB
Indices of the triangle's vertices in Vertices.
public readonly int IndexB
Field Value
IndexC
Indices of the triangle's vertices in Vertices.
public readonly int IndexC
Field Value
NeighborA
Neighbor triangle indices opposite the corresponding vertices, or -1 at a boundary.
public int NeighborA
Field Value
NeighborB
Neighbor triangle indices opposite the corresponding vertices, or -1 at a boundary.
public int NeighborB
Field Value
NeighborC
Neighbor triangle indices opposite the corresponding vertices, or -1 at a boundary.
public int NeighborC
Field Value
Normal
The triangle normal in mesh-local coordinates.
public JVector Normal