Skip to main content

struct LineSegment

(Niantic.Lightship.Maps.Core.Geometry.LineSegment)

Overview

A line segment defined by two Vector3 points

struct LineSegment {
// fields

readonly Vector3 VertexA;
readonly Vector3 VertexB;

// methods

LineSegment(Vector3 vertexA, Vector3 vertexB);
};

Detailed Documentation

A line segment defined by two Vector3 points

Fields

VertexA

readonly Vector3 VertexA

An endpoint of the line segment

VertexB

readonly Vector3 VertexB

An endpoint of the line segment