Table of Contents

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

v1 Vector3F
v2 Vector3F
v3 Vector3F
color Color4B

Fields

Color

Color of the triangle, represented as a Color4B struct

public Color4B Color

Field Value

Color4B

Vertex1

First vertex of the triangle

public Vector3F Vertex1

Field Value

Vector3F

Vertex2

Second vertex of the triangle

public Vector3F Vertex2

Field Value

Vector3F

Vertex3

Third vertex of the triangle

public Vector3F Vertex3

Field Value

Vector3F