DPB1Struct · Utilities and settings

Matrix

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

Namespace: DreamPoeBot.Common

public struct MatrixView DPB2 version →

Members and overloads

43 results

CreateScale

MethodLink ↗
public static void Matrix.CreateScale(float xScale, float yScale, float zScale, out Matrix result)

Creates scale using the supplied arguments.

xScalefloat
Specifies x scale.
yScalefloat
Specifies y scale.
zScalefloat
Specifies z scale.
resultMatrix
Receives result.

CreateTranslation

MethodLink ↗
public static Matrix Matrix.CreateTranslation(Vector3 position)

Creates translation using the supplied arguments.

positionVector3
Specifies position.

Returns: The Matrix result.

CreateTranslation

MethodLink ↗
public static void Matrix.CreateTranslation(ref Vector3 position, out Matrix result)

Creates translation using the supplied arguments.

positionVector3
Supplies and may update position.
resultMatrix
Receives result.

GetBackwards

MethodLink ↗
public void Matrix.GetBackwards(out Vector3 backwards)

Returns backwards using the supplied arguments.

backwardsVector3
Receives backwards.

GetDown

MethodLink ↗
public void Matrix.GetDown(out Vector3 down)

Returns down using the supplied arguments.

downVector3
Receives down.

GetForward

MethodLink ↗
public void Matrix.GetForward(out Vector3 forward)

Returns forward using the supplied arguments.

forwardVector3
Receives forward.

GetLeft

MethodLink ↗
public void Matrix.GetLeft(out Vector3 left)

Returns left using the supplied arguments.

leftVector3
Receives left.

GetRight

MethodLink ↗
public void Matrix.GetRight(out Vector3 right)

Returns right using the supplied arguments.

rightVector3
Receives right.

GetTranslation

MethodLink ↗
public void Matrix.GetTranslation(out Vector3 translation)

Returns translation using the supplied arguments.

translationVector3
Receives translation.

GetUp

MethodLink ↗
public void Matrix.GetUp(out Vector3 up)

Returns up using the supplied arguments.

upVector3
Receives up.

Multiply

MethodLink ↗
public static void Matrix.Multiply(ref Matrix m1, ref Matrix m2, out Matrix result)

Executes the multiply operation with the supplied arguments.

m1Matrix
Supplies and may update m1.
m2Matrix
Supplies and may update m2.
resultMatrix
Receives result.

op_Multiply

MethodLink ↗
public static Matrix Matrix.operator *(Matrix ls, Matrix rs)

Applies the multiply operation to the supplied values.

lsMatrix
Specifies ls.
rsMatrix
Specifies rs.

Returns: The Matrix result.

Identity

PropertyLink ↗
public static Matrix Matrix.Identity { get; private set; }

Gets identity for Matrix.

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.