We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Struct Edge

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

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Boundary
    Assembly: cs.temp.dll.dll
    Syntax
    public struct Edge

    Constructors

    Edge(Vector2, Vector2)

    Initializes the Edge structure.

    Declaration
    public Edge(Vector2 pointA, Vector2 pointB)
    Parameters
    Type Name Description
    Vector2 pointA

    The first point of the line segment.

    Vector2 pointB

    The second point of the line segment.

    Edge(Vector3, Vector3)

    Initializes the Edge structure.

    Declaration
    public Edge(Vector3 pointA, Vector3 pointB)
    Parameters
    Type Name Description
    Vector3 pointA

    The first point of the line segment.

    Vector3 pointB

    The second point of the line segment.

    Fields

    PointA

    The first point of the edge line segment.

    Declaration
    public readonly Vector2 PointA
    Field Value
    Type Description
    Vector2

    PointB

    The second point of the edge line segment.

    Declaration
    public readonly Vector2 PointB
    Field Value
    Type Description
    Vector2
    Back to top Generated by DocFX