DPB1Struct · Utilities and settings

LineSegment

Provides line segment data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public struct LineSegment
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

10 declared here

LineSegment

MethodLink ↗
public LineSegment.LineSegment()

Creates a new LineSegment instance.

ClosestPoint

MethodLink ↗
public Vector3 LineSegment.ClosestPoint(Vector3 point)

Calls ClosestPoint on LineSegment with point and returns Vector3. Open the return contract below before using the result.

Return type: Vector3
Explore Vector3 → members & methods

Provides vector3 data and the operations listed below. Related types link to the values this API consumes or returns.

Parameters

point

Specifies point.

Returns: The Vector3 result.

ClosestT

MethodLink ↗
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

point

Specifies point.

Returns: The float result.

Distance

PropertyLink ↗
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.

DistanceSqr

PropertyLink ↗
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.

DPB1 0.3.29.56 · 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.