Edge Struct

Definition

The Edge structure defines the points of a line segment that are used to construct a polygonal boundary.

C++
public value class Edge
Inheritance
Edge

Constructors

Edge(Vector2, Vector2)

Initializes the Edge structure.

Edge(Vector3, Vector3)

Initializes the Edge structure.

Fields

PointA

The first point of the edge line segment.

PointB

The second point of the edge line segment.

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0