Bewerken

Delen via


Edge Constructors

Definition

Overloads

Edge(Vector2, Vector2)

Initializes the Edge structure.

Edge(Vector3, Vector3)

Initializes the Edge structure.

Edge(Vector2, Vector2)

Initializes the Edge structure.

public:
 Edge(UnityEngine::Vector2 pointA, UnityEngine::Vector2 pointB);
public Edge (UnityEngine.Vector2 pointA, UnityEngine.Vector2 pointB);
new Microsoft.MixedReality.Toolkit.Boundary.Edge : UnityEngine.Vector2 * UnityEngine.Vector2 -> Microsoft.MixedReality.Toolkit.Boundary.Edge
Public Sub New (pointA As Vector2, pointB As Vector2)

Parameters

pointA
UnityEngine.Vector2

The first point of the line segment.

pointB
UnityEngine.Vector2

The second point of the line segment.

Applies to

Edge(Vector3, Vector3)

Initializes the Edge structure.

public:
 Edge(UnityEngine::Vector3 pointA, UnityEngine::Vector3 pointB);
public Edge (UnityEngine.Vector3 pointA, UnityEngine.Vector3 pointB);
new Microsoft.MixedReality.Toolkit.Boundary.Edge : UnityEngine.Vector3 * UnityEngine.Vector3 -> Microsoft.MixedReality.Toolkit.Boundary.Edge
Public Sub New (pointA As Vector3, pointB As Vector3)

Parameters

pointA
UnityEngine.Vector3

The first point of the line segment.

pointB
UnityEngine.Vector3

The second point of the line segment.

Applies to