Members and overloads 10 declared here On this results page End Start LineSegment() LineSegment(Vector3, Vector3) ClosestPoint(Vector3) ClosestT(Vector3) Direction Distance DistanceSqr UnitDirection
Copy
public Vector3 LineSegment.End
Reads or assigns end on LineSegment as Vector3. Open the value type below for its members and accepted values.
Copy
public Vector3 LineSegment.Start
Reads or assigns start on LineSegment as Vector3. Open the value type below for its members and accepted values.
Copy
public LineSegment.LineSegment()
Creates a new LineSegment instance.
Copy
public LineSegment.LineSegment(Vector3 start, Vector3 end)
Creates a new LineSegment instance using the supplied arguments.
Parameters
startSpecifies start.
endSpecifies end.
Copy
public Vector3 LineSegment.ClosestPoint(Vector3 point)
Calls ClosestPoint on LineSegment with point and returns Vector3. Open the return contract below before using the result.
Parameters
pointSpecifies point.
Returns: The Vector3 result.
Copy
public float LineSegment.ClosestT(Vector3 point)
Calls ClosestT on LineSegment with point and returns float. Open the return contract below before using the result.
Return type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
pointSpecifies point.
Returns: The float result.
Copy
public Vector3 LineSegment.Direction { get; }
Reads direction on LineSegment as Vector3. Open the value type below for its members and accepted values.
Copy
public float LineSegment.Distance { get; }
Reads distance on LineSegment as float. The exact type and accessors are shown below.
Value type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public float LineSegment.DistanceSqr { get; }
Reads distance sqr on LineSegment as float. The exact type and accessors are shown below.
Value type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public Vector3 LineSegment.UnitDirection { get; }
Reads unit direction on LineSegment as Vector3. Open the value type below for its members and accepted values.
DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.