public Vector3 Ray.Direction
Gets or sets direction for 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 →public Vector3 Ray.Direction
Gets or sets direction for Ray.
public Vector3 Ray.Position
Gets or sets position for Ray.
public Ray.Ray()
Creates a new Ray instance.
public Ray.Ray(Vector3 position, Vector3 direction)
Creates a new Ray instance using the supplied arguments.
positionVector3directionVector3public float? Ray.Intersects(Sphere sphere)
Executes the intersects operation with the supplied arguments.
sphereSphereReturns: 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.