DPB2Struct · Utilities and settings

Quaternion

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

Namespace: DreamPoeBot.Common

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

Members and overloads

6 declared here

W

FieldLink ↗
public float Quaternion.W

Reads or assigns w on Quaternion 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.

X

FieldLink ↗
public float Quaternion.X

Reads or assigns x on Quaternion 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.

Y

FieldLink ↗
public float Quaternion.Y

Reads or assigns y on Quaternion 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.

Z

FieldLink ↗
public float Quaternion.Z

Reads or assigns z on Quaternion 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.

Quaternion

MethodLink ↗
public Quaternion.Quaternion()

Creates a new Quaternion instance.

CreateFromYawPitchRoll

MethodLink ↗
public static void Quaternion.CreateFromYawPitchRoll(float yaw, float pitch, float roll, out Quaternion result)

Creates from yaw pitch roll using the supplied arguments.

Return type: voidNo return value.

Parameters

yaw
Parameter type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies yaw.

pitch
Parameter type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies pitch.

roll
Parameter type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies roll.

result

Receives result.

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