Vec

Description

static class Tinman.Core.Math.Vectors.Vec

Helper class for conversions between vector structs.

Public / Methods

To2D

11 overloads


[Pure]
public static method To2D1 → (1)

in : Vec2I

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D2 → (1)

in : Vec3I

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D3 → (1)

in : Vec4I

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D4 → (1)

in : Vec2L

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D5 → (1)

in : Vec3L

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D6 → (1)

in : Vec4L

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D7 → (1)

in : Vec2F

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D8 → (1)

in : Vec3F

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D9 → (1)

in : Vec4F

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D10 → (1)

in : Vec3D

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To2D11 → (1)

in : Vec4D

The vector to convert.

returns → Vec2D

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit floating-point precision.

To2F

11 overloads


[Pure]
public static method To2F1 → (1)

in : Vec2I

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F2 → (1)

in : Vec3I

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F3 → (1)

in : Vec4I

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F4 → (1)

in : Vec2L

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F5 → (1)

in : Vec3L

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F6 → (1)

in : Vec4L

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F7 → (1)

in : Vec3F

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F8 → (1)

in : Vec4F

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F9 → (1)

in : Vec2D

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F10 → (1)

in : Vec3D

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To2F11 → (1)

in : Vec4D

The vector to convert.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.

To2F_Delta2


[Pure]
public static method To2F_Delta2 → (2)

in : Vec2D

The vector to convert.

delta out : Vec2F

Difference vector from resulting vector to in.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.

To2F_Delta3


[Pure]
public static method To2F_Delta3 → (2)

in : Vec3D

The vector to convert.

delta out : Vec2F

Difference vector from resulting vector to in.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.

To2F_Delta4


[Pure]
public static method To2F_Delta4 → (2)

in : Vec4D

The vector to convert.

delta out : Vec2F

Difference vector from resulting vector to in.

returns → Vec2F

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit floating-point precision.

To2I

11 overloads


[Pure]
public static method To2I1 → (1)

in : Vec3I

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I2 → (1)

in : Vec4I

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I3 → (1)

in : Vec2L

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I4 → (1)

in : Vec3L

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I5 → (1)

in : Vec4L

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I6 → (1)

in : Vec2F

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I7 → (1)

in : Vec3F

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I8 → (1)

in : Vec4F

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I9 → (1)

in : Vec2D

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I10 → (1)

in : Vec3D

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.


[Pure]
public static method To2I11 → (1)

in : Vec4D

The vector to convert.

returns → Vec2I

The resulting vector.

Converts the given vector to a two-dimensional vector with 32-bit integer precision.

To2L

11 overloads


[Pure]
public static method To2L1 → (1)

in : Vec2I

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L2 → (1)

in : Vec3I

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L3 → (1)

in : Vec4I

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L4 → (1)

in : Vec3L

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L5 → (1)

in : Vec4L

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L6 → (1)

in : Vec2F

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L7 → (1)

in : Vec3F

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L8 → (1)

in : Vec4F

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L9 → (1)

in : Vec2D

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L10 → (1)

in : Vec3D

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.


[Pure]
public static method To2L11 → (1)

in : Vec4D

The vector to convert.

returns → Vec2L

The resulting vector.

Converts the given vector to a two-dimensional vector with 64-bit integer precision.

To3D

15 overloads


[Pure]
public static method To3D1 → (1)

in : Vec2I

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3D2 → (2)

in : Vec2I

The vector to convert.

in : float64

The Z-component.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D3 → (1)

in : Vec3I

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D4 → (1)

in : Vec4I

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D5 → (1)

in : Vec2L

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3D6 → (2)

in : Vec2L

The vector to convert.

in : float64

The Z-component.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D7 → (1)

in : Vec3L

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D8 → (1)

in : Vec4L

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D9 → (1)

in : Vec2F

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3D10 → (2)

in : Vec2F

The vector to convert.

in : float64

The Z-component.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D11 → (1)

in : Vec3F

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D12 → (1)

in : Vec4F

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D13 → (1)

in : Vec2D

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3D14 → (2)

in : Vec2D

The vector to convert.

in : float64

The Z-component.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To3D15 → (1)

in : Vec4D

The vector to convert.

returns → Vec3D

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit floating-point precision.

To3F

15 overloads


[Pure]
public static method To3F1 → (1)

in : Vec2I

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3F2 → (2)

in : Vec2I

The vector to convert.

in : float32

The Z-component.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F3 → (1)

in : Vec3I

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F4 → (1)

in : Vec4I

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F5 → (1)

in : Vec2L

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3F6 → (2)

in : Vec2L

The vector to convert.

in : float32

The Z-component.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F7 → (1)

in : Vec3L

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F8 → (1)

in : Vec4L

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F9 → (1)

in : Vec2F

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3F10 → (2)

in : Vec2F

The vector to convert.

in : float32

The Z-component.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F11 → (1)

in : Vec4F

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F12 → (1)

in : Vec2D

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To3F13 → (2)

in : Vec2D

The vector to convert.

in : float32

The Z-component.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F14 → (1)

in : Vec3D

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To3F15 → (1)

in : Vec4D

The vector to convert.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.

To3F_Delta3


[Pure]
public static method To3F_Delta3 → (2)

in : Vec3D

The vector to convert.

delta out : Vec3F

Difference vector from resulting vector to in.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.

To3F_Delta4


[Pure]
public static method To3F_Delta4 → (2)

in : Vec4D

The vector to convert.

delta out : Vec3F

Difference vector from resulting vector to in.

returns → Vec3F

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit floating-point precision.

To3I

15 overloads


[Pure]
public static method To3I1 → (1)

in : Vec2I

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3I2 → (2)

in : Vec2I

The vector to convert.

in : int32

The Z-component.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I3 → (1)

in : Vec4I

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I4 → (1)

in : Vec2L

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3I5 → (2)

in : Vec2L

The vector to convert.

in : int32

The Z-component.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I6 → (1)

in : Vec3L

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I7 → (1)

in : Vec4L

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I8 → (1)

in : Vec2F

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3I9 → (2)

in : Vec2F

The vector to convert.

in : int32

The Z-component.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I10 → (1)

in : Vec3F

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I11 → (1)

in : Vec4F

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I12 → (1)

in : Vec2D

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3I13 → (2)

in : Vec2D

The vector to convert.

in : int32

The Z-component.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I14 → (1)

in : Vec3D

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.


[Pure]
public static method To3I15 → (1)

in : Vec4D

The vector to convert.

returns → Vec3I

The resulting vector.

Converts the given vector to a three-dimensional vector with 32-bit integer precision.

To3L

15 overloads


[Pure]
public static method To3L1 → (1)

in : Vec2I

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3L2 → (2)

in : Vec2I

The vector to convert.

in : int64

The Z-component.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L3 → (1)

in : Vec3I

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L4 → (1)

in : Vec4I

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L5 → (1)

in : Vec2L

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3L6 → (2)

in : Vec2L

The vector to convert.

in : int64

The Z-component.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L7 → (1)

in : Vec4L

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L8 → (1)

in : Vec2F

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3L9 → (2)

in : Vec2F

The vector to convert.

in : int64

The Z-component.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L10 → (1)

in : Vec3F

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L11 → (1)

in : Vec4F

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L12 → (1)

in : Vec2D

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To3L13 → (2)

in : Vec2D

The vector to convert.

in : int64

The Z-component.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L14 → (1)

in : Vec3D

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.


[Pure]
public static method To3L15 → (1)

in : Vec4D

The vector to convert.

returns → Vec3L

The resulting vector.

Converts the given vector to a three-dimensional vector with 64-bit integer precision.

To4D

19 overloads


[Pure]
public static method To4D1 → (1)

in : Vec2I

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D2 → (3)

in : Vec2I

The vector to convert.

in : float64

The Z-component.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D3 → (1)

in : Vec3I

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D4 → (2)

in : Vec3I

The vector to convert.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D5 → (1)

in : Vec4I

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D6 → (1)

in : Vec2L

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D7 → (3)

in : Vec2L

The vector to convert.

in : float64

The Z-component.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D8 → (1)

in : Vec3L

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D9 → (2)

in : Vec3L

The vector to convert.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D10 → (1)

in : Vec4L

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D11 → (1)

in : Vec2F

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D12 → (3)

in : Vec2F

The vector to convert.

in : float64

The Z-component.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D13 → (1)

in : Vec3F

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D14 → (2)

in : Vec3F

The vector to convert.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D15 → (1)

in : Vec4F

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D16 → (1)

in : Vec2D

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D17 → (3)

in : Vec2D

The vector to convert.

in : float64

The Z-component.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.


[Pure]
public static method To4D18 → (1)

in : Vec3D

The vector to convert.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4D19 → (2)

in : Vec3D

The vector to convert.

in : float64

The W-component.

returns → Vec4D

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit floating-point precision.

To4F

19 overloads


[Pure]
public static method To4F1 → (1)

in : Vec2I

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F2 → (3)

in : Vec2I

The vector to convert.

in : float32

The Z-component.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F3 → (1)

in : Vec3I

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F4 → (2)

in : Vec3I

The vector to convert.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F5 → (1)

in : Vec4I

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F6 → (1)

in : Vec2L

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F7 → (3)

in : Vec2L

The vector to convert.

in : float32

The Z-component.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F8 → (1)

in : Vec3L

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F9 → (2)

in : Vec3L

The vector to convert.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F10 → (1)

in : Vec4L

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F11 → (1)

in : Vec2F

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F12 → (3)

in : Vec2F

The vector to convert.

in : float32

The Z-component.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F13 → (1)

in : Vec3F

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F14 → (2)

in : Vec3F

The vector to convert.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F15 → (1)

in : Vec2D

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F16 → (3)

in : Vec2D

The vector to convert.

in : float32

The Z-component.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F17 → (1)

in : Vec3D

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

Additional vector components will be set to 0.


[Pure]
public static method To4F18 → (2)

in : Vec3D

The vector to convert.

in : float32

The W-component.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.


[Pure]
public static method To4F19 → (1)

in : Vec4D

The vector to convert.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

To4F_Delta4


[Pure]
public static method To4F_Delta4 → (2)

in : Vec4D

The vector to convert.

delta out : Vec4F

Difference vector from resulting vector to in.

returns → Vec4F

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit floating-point precision.

To4I

19 overloads


[Pure]
public static method To4I1 → (1)

in : Vec2I

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I2 → (3)

in : Vec2I

The vector to convert.

in : int32

The Z-component.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I3 → (1)

in : Vec3I

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I4 → (2)

in : Vec3I

The vector to convert.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I5 → (1)

in : Vec2L

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I6 → (3)

in : Vec2L

The vector to convert.

in : int32

The Z-component.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I7 → (1)

in : Vec3L

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I8 → (2)

in : Vec3L

The vector to convert.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I9 → (1)

in : Vec4L

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I10 → (1)

in : Vec2F

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I11 → (3)

in : Vec2F

The vector to convert.

in : int32

The Z-component.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I12 → (1)

in : Vec3F

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I13 → (2)

in : Vec3F

The vector to convert.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I14 → (1)

in : Vec4F

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I15 → (1)

in : Vec2D

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I16 → (3)

in : Vec2D

The vector to convert.

in : int32

The Z-component.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I17 → (1)

in : Vec3D

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4I18 → (2)

in : Vec3D

The vector to convert.

in : int32

The W-component.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.


[Pure]
public static method To4I19 → (1)

in : Vec4D

The vector to convert.

returns → Vec4I

The resulting vector.

Converts the given vector to a four-dimensional vector with 32-bit integer precision.

To4L

19 overloads


[Pure]
public static method To4L1 → (1)

in : Vec2I

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L2 → (3)

in : Vec2I

The vector to convert.

in : int64

The Z-component.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L3 → (1)

in : Vec3I

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L4 → (2)

in : Vec3I

The vector to convert.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L5 → (1)

in : Vec4I

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L6 → (1)

in : Vec2L

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L7 → (3)

in : Vec2L

The vector to convert.

in : int64

The Z-component.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L8 → (1)

in : Vec3L

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L9 → (2)

in : Vec3L

The vector to convert.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L10 → (1)

in : Vec2F

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L11 → (3)

in : Vec2F

The vector to convert.

in : int64

The Z-component.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L12 → (1)

in : Vec3F

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L13 → (2)

in : Vec3F

The vector to convert.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L14 → (1)

in : Vec4F

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L15 → (1)

in : Vec2D

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L16 → (3)

in : Vec2D

The vector to convert.

in : int64

The Z-component.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L17 → (1)

in : Vec3D

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Additional vector components will be set to 0.


[Pure]
public static method To4L18 → (2)

in : Vec3D

The vector to convert.

in : int64

The W-component.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.


[Pure]
public static method To4L19 → (1)

in : Vec4D

The vector to convert.

returns → Vec4L

The resulting vector.

Converts the given vector to a four-dimensional vector with 64-bit integer precision.

Configuration

Config2


public static attribute Config2 → (get)

value : IConfigurator<Vec2D>

[not-null]
The configurator object.

The configurator object for Vec2D values.

Config3


public static attribute Config3 → (get)

value : IConfigurator<Vec3D>

[not-null]
The configurator object.

The configurator object for Vec3D values.

Config4


public static attribute Config4 → (get)

value : IConfigurator<Vec4D>

[not-null]
The configurator object.

The configurator object for Vec3D values.