Struct Triangle
- Namespace
- RetroEditor.Plugins
- Assembly
- RetroEditor.dll
Represents a triangle in 3D space defined by three vertices
public struct Triangle
- Inherited Members
Constructors
Triangle(Vector3F, Vector3F, Vector3F, Color4B)
Initializes a new instance of the Triangle struct with the specified vertices
public Triangle(Vector3F v1, Vector3F v2, Vector3F v3, Color4B color)
Parameters
Fields
Color
Color of the triangle, represented as a Color4B struct
public Color4B Color
Field Value
Vertex1
First vertex of the triangle
public Vector3F Vertex1
Field Value
Vertex2
Second vertex of the triangle
public Vector3F Vertex2
Field Value
Vertex3
Third vertex of the triangle
public Vector3F Vertex3