Struct Mesh.Triangle ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Shapes
Assembly: ValveResourceFormat.dll
Represents a triangle in the mesh.
csharp
public readonly struct Mesh.TriangleConstructors ​
Triangle(KVObject) ​
Initializes a new instance of the Mesh.Triangle struct.
csharp
public Triangle(KVObject data)Parameters ​
data KVObject
Fields ​
X ​
The first vertex index of the triangle.
csharp
public readonly int XField Value ​
int
Y ​
The second vertex index of the triangle.
csharp
public readonly int YField Value ​
int
Z ​
The third vertex index of the triangle.
csharp
public readonly int ZField Value ​
int

