Triangle.Triangle Constructors
Initializes a new instance of the Triangle class.
Overload List
| Name | Description | |
|---|---|---|
| Public method | Triangle() | Initializes a new instance of the Triangle class. |
| Public method | Triangle(System.UInt32 vertex0, System.UInt32 vertex1, System.UInt32 vertex2) | Initializes a new instance of the Triangle class with the given vertex indices. |
Triangle()
Initializes a new instance of the Triangle class.Syntax
public Triangle ()Remarks
This constructor zero initializes all vertex indices.
Triangle(System.UInt32 vertex0, System.UInt32 vertex1, System.UInt32 vertex2)
Initializes a new instance of the Triangle class with the given vertex indices.Syntax
public Triangle (
System.UInt32 vertex0,
System.UInt32 vertex1,
System.UInt32 vertex2
)Parameters
vertex0
Type: System.UInt32
The index of the first vertex in the triangle.
The index of the first vertex in the triangle.
vertex1
Type: System.UInt32
The index of the second vertex in the triangle.
The index of the second vertex in the triangle.
vertex2
Type: System.UInt32
The index of the third vertex in the triangle.
The index of the third vertex in the triangle.
Platforms
Windows, Linux, Android