DPB2Struct · Utilities and settings

Vector3

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

Namespace: DreamPoeBot.Common

public struct Vector3View DPB1 version →

Inherited APIs and contracts

Members declared by a base type are documented on that type. Follow these links to include them in your lookup.

Members and overloads

71 results

X

FieldLink ↗
public float Vector3.X

Gets or sets x for Vector3.

Y

FieldLink ↗
public float Vector3.Y

Gets or sets y for Vector3.

Z

FieldLink ↗
public float Vector3.Z

Gets or sets z for Vector3.

Vector3

MethodLink ↗
public Vector3.Vector3()

Creates a new Vector3 instance.

Vector3

MethodLink ↗
public Vector3.Vector3(Vector2 v, float z)

Creates a new Vector3 instance using the supplied arguments.

vVector2
Specifies v.
zfloat
Specifies z.

Vector3

MethodLink ↗
public Vector3.Vector3(Vector2i v, float z)

Creates a new Vector3 instance using the supplied arguments.

vVector2i
Specifies v.
zfloat
Specifies z.

Vector3

MethodLink ↗
public Vector3.Vector3(float v)

Creates a new Vector3 instance using the supplied arguments.

vfloat
Specifies v.

Vector3

MethodLink ↗
public Vector3.Vector3(float x, float y, float z)

Creates a new Vector3 instance using the supplied arguments.

xfloat
Specifies x.
yfloat
Specifies y.
zfloat
Specifies z.

Add

MethodLink ↗
public static void Vector3.Add(ref Vector3 v1, ref Vector3 v2, out Vector3 result)

Executes the add operation with the supplied arguments.

v1Vector3
Supplies and may update v1.
v2Vector3
Supplies and may update v2.
resultVector3
Receives result.

Blend

MethodLink ↗
public static Vector3 Vector3.Blend(Vector3 firstPoint, Vector3 secondPoint, float t)

Executes the blend operation with the supplied arguments.

firstPointVector3
Specifies first point.
secondPointVector3
Specifies second point.
tfloat
Specifies t.

Returns: The Vector3 result.

CalculateBarycentric

MethodLink ↗
public static bool Vector3.CalculateBarycentric(ref Vector3 p1, ref Vector3 p2, ref Vector3 p3, ref Vector3 point, out Vector3 barycentric)

Calculates barycentric using the supplied arguments.

p1Vector3
Supplies and may update p1.
p2Vector3
Supplies and may update p2.
p3Vector3
Supplies and may update p3.
pointVector3
Supplies and may update point.
barycentricVector3
Receives barycentric.

Returns: A Boolean result. The member description explains the condition being checked.

Cardinal

MethodLink ↗
public static Vector3 Vector3.Cardinal(Vector3 beforeStart, Vector3 start, Vector3 end, Vector3 afterEnd, float aStart, float aEnd, float amount)

Executes the cardinal operation with the supplied arguments.

beforeStartVector3
Specifies before start.
startVector3
Specifies start.
endVector3
Specifies end.
afterEndVector3
Specifies after end.
aStartfloat
Specifies a start.
aEndfloat
Specifies a end.
amountfloat
Specifies amount.

Returns: The Vector3 result.

Cardinal

MethodLink ↗
public static void Vector3.Cardinal(ref Vector3 beforeStart, ref Vector3 start, ref Vector3 end, ref Vector3 afterEnd, float aStart, float aEnd, float amount, out Vector3 result)

Executes the cardinal operation with the supplied arguments.

beforeStartVector3
Supplies and may update before start.
startVector3
Supplies and may update start.
endVector3
Supplies and may update end.
afterEndVector3
Supplies and may update after end.
aStartfloat
Specifies a start.
aEndfloat
Specifies a end.
amountfloat
Specifies amount.
resultVector3
Receives result.

CatmullRom

MethodLink ↗
public static Vector3 Vector3.CatmullRom(Vector3 beforeStart, Vector3 start, Vector3 end, Vector3 afterEnd, float amount)

Executes the catmull rom operation with the supplied arguments.

beforeStartVector3
Specifies before start.
startVector3
Specifies start.
endVector3
Specifies end.
afterEndVector3
Specifies after end.
amountfloat
Specifies amount.

Returns: The Vector3 result.

CatmullRom

MethodLink ↗
public static void Vector3.CatmullRom(ref Vector3 beforeStart, ref Vector3 start, ref Vector3 end, ref Vector3 afterEnd, float amount, out Vector3 result)

Executes the catmull rom operation with the supplied arguments.

beforeStartVector3
Supplies and may update before start.
startVector3
Supplies and may update start.
endVector3
Supplies and may update end.
afterEndVector3
Supplies and may update after end.
amountfloat
Specifies amount.
resultVector3
Receives result.

Cross

MethodLink ↗
public static Vector3 Vector3.Cross(Vector3 v1, Vector3 v2)

Executes the cross operation with the supplied arguments.

v1Vector3
Specifies v1.
v2Vector3
Specifies v2.

Returns: The Vector3 result.

Cross

MethodLink ↗
public static void Vector3.Cross(ref Vector3 v1, ref Vector3 v2, out Vector3 crossProduct)

Executes the cross operation with the supplied arguments.

v1Vector3
Supplies and may update v1.
v2Vector3
Supplies and may update v2.
crossProductVector3
Receives cross product.

CubiceHermiteCurve

MethodLink ↗
public static Vector3 Vector3.CubiceHermiteCurve(Vector3 start, Vector3 end, Vector3 u, Vector3 v, float t)

Executes the cubice hermite curve operation with the supplied arguments.

startVector3
Specifies start.
endVector3
Specifies end.
uVector3
Specifies u.
vVector3
Specifies v.
tfloat
Specifies t.

Returns: The Vector3 result.

Distance

MethodLink ↗
public float Vector3.Distance(Vector3 v)

Executes the distance operation with the supplied arguments.

vVector3
Specifies v.

Returns: The float result.

Distance

MethodLink ↗
public static float Vector3.Distance(Vector3 v1, Vector3 v2)

Executes the distance operation with the supplied arguments.

v1Vector3
Specifies v1.
v2Vector3
Specifies v2.

Returns: The float result.

Distance

MethodLink ↗
public float Vector3.Distance(ref Vector3 v)

Executes the distance operation with the supplied arguments.

vVector3
Supplies and may update v.

Returns: The float result.

Distance

MethodLink ↗
public static float Vector3.Distance(ref Vector3 v1, ref Vector3 v2)

Executes the distance operation with the supplied arguments.

v1Vector3
Supplies and may update v1.
v2Vector3
Supplies and may update v2.

Returns: The float result.

Distance2D

MethodLink ↗
public float Vector3.Distance2D(Vector3 to)

Executes the distance2 d operation with the supplied arguments.

toVector3
Specifies to.

Returns: The float result.

Distance2D

MethodLink ↗
public static float Vector3.Distance2D(ref Vector3 v1, ref Vector3 v2)

Executes the distance2 d operation with the supplied arguments.

v1Vector3
Supplies and may update v1.
v2Vector3
Supplies and may update v2.

Returns: The float result.

Distance2DSqr

MethodLink ↗
public float Vector3.Distance2DSqr(Vector3 to)

Executes the distance2 d sqr operation with the supplied arguments.

toVector3
Specifies to.

Returns: The float result.

Distance2DSqr

MethodLink ↗
public static float Vector3.Distance2DSqr(ref Vector3 v1, ref Vector3 v2)

Executes the distance2 d sqr operation with the supplied arguments.

v1Vector3
Supplies and may update v1.
v2Vector3
Supplies and may update v2.

Returns: The float result.

DistanceSqr

MethodLink ↗
public float Vector3.DistanceSqr(Vector3 v)

Executes the distance sqr operation with the supplied arguments.

vVector3
Specifies v.

Returns: The float result.

DistanceSqr

MethodLink ↗
public static float Vector3.DistanceSqr(Vector3 v1, Vector3 v2)

Executes the distance sqr operation with the supplied arguments.

v1Vector3
Specifies v1.
v2Vector3
Specifies v2.

Returns: The float result.

DistanceSqr

MethodLink ↗
public float Vector3.DistanceSqr(ref Vector3 v)

Executes the distance sqr operation with the supplied arguments.

vVector3
Supplies and may update v.

Returns: The float result.

DistanceSqr

MethodLink ↗
public static float Vector3.DistanceSqr(ref Vector3 v1, ref Vector3 v2)

Executes the distance sqr operation with the supplied arguments.

v1Vector3
Supplies and may update v1.
v2Vector3
Supplies and may update v2.

Returns: The float result.

DPB2 0.4.5.88 · 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.