DPB1Struct · Utilities and settings

Ray

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

Namespace: DreamPoeBot.Loki.Common

public struct RayView DPB2 version →

Members and overloads

5 results

Direction

FieldLink ↗
public Vector3 Ray.Direction

Gets or sets direction for Ray.

Position

FieldLink ↗
public Vector3 Ray.Position

Gets or sets position for Ray.

Ray

MethodLink ↗
public Ray.Ray()

Creates a new Ray instance.

Ray

MethodLink ↗
public Ray.Ray(Vector3 position, Vector3 direction)

Creates a new Ray instance using the supplied arguments.

positionVector3
Specifies position.
directionVector3
Specifies direction.

Intersects

MethodLink ↗
public float? Ray.Intersects(Sphere sphere)

Executes the intersects operation with the supplied arguments.

sphereSphere
Specifies sphere.

Returns: The float? result.

DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.