Edit

Share via


Matrix4x4.Create Method

Definition

Overloads

Create(Matrix3x2)

Creates a Matrix4x4 from the specified Matrix3x2.

Create(Vector4)

Creates a Matrix4x4 whose four rows are set to the specified value.

Create(Single)

Creates a Matrix4x4 whose 16 elements are set to the specified value.

Create(Vector4, Vector4, Vector4, Vector4)

Creates a Matrix4x4 from the specified rows.

Create(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)

Creates a Matrix3x2 from the specified elements.

Create(Matrix3x2)

Creates a Matrix4x4 from the specified Matrix3x2.

public:
 static System::Numerics::Matrix4x4 Create(System::Numerics::Matrix3x2 value);
public static System.Numerics.Matrix4x4 Create(System.Numerics.Matrix3x2 value);
static member Create : System.Numerics.Matrix3x2 -> System.Numerics.Matrix4x4
Public Shared Function Create (value As Matrix3x2) As Matrix4x4

Parameters

value
Matrix3x2

The Matrix3x2 to assign to the first two elements of X, Y, and W.

Returns

A Matrix4x4 that was initialized using the elements from value.

Remarks

The last two elements of X, Y, and W are initialized to zero; while Z is initialized to UnitZ.

Applies to

Create(Vector4)

Creates a Matrix4x4 whose four rows are set to the specified value.

public:
 static System::Numerics::Matrix4x4 Create(System::Numerics::Vector4 value);
public static System.Numerics.Matrix4x4 Create(System.Numerics.Vector4 value);
static member Create : System.Numerics.Vector4 -> System.Numerics.Matrix4x4
Public Shared Function Create (value As Vector4) As Matrix4x4

Parameters

value
Vector4

The value to assign to all four rows.

Returns

A Matrix4x4 whose four rows are set to value.

Applies to

Create(Single)

Creates a Matrix4x4 whose 16 elements are set to the specified value.

public:
 static System::Numerics::Matrix4x4 Create(float value);
public static System.Numerics.Matrix4x4 Create(float value);
static member Create : single -> System.Numerics.Matrix4x4
Public Shared Function Create (value As Single) As Matrix4x4

Parameters

value
Single

The value to assign to all 16 elements.

Returns

A Matrix4x4 whose 16 elements are set to value.

Applies to

Create(Vector4, Vector4, Vector4, Vector4)

Creates a Matrix4x4 from the specified rows.

public:
 static System::Numerics::Matrix4x4 Create(System::Numerics::Vector4 x, System::Numerics::Vector4 y, System::Numerics::Vector4 z, System::Numerics::Vector4 w);
public static System.Numerics.Matrix4x4 Create(System.Numerics.Vector4 x, System.Numerics.Vector4 y, System.Numerics.Vector4 z, System.Numerics.Vector4 w);
static member Create : System.Numerics.Vector4 * System.Numerics.Vector4 * System.Numerics.Vector4 * System.Numerics.Vector4 -> System.Numerics.Matrix4x4
Public Shared Function Create (x As Vector4, y As Vector4, z As Vector4, w As Vector4) As Matrix4x4

Parameters

x
Vector4

The value to assign to X.

y
Vector4

The value to assign to Y.

z
Vector4

The value to assign to Z.

w
Vector4

The value to assign to W.

Returns

A Matrix4x4 whose rows are set to the specified values.

Applies to

Create(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)

Creates a Matrix3x2 from the specified elements.

public:
 static System::Numerics::Matrix4x4 Create(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44);
public static System.Numerics.Matrix4x4 Create(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44);
static member Create : single * single * single * single * single * single * single * single * single * single * single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function Create (m11 As Single, m12 As Single, m13 As Single, m14 As Single, m21 As Single, m22 As Single, m23 As Single, m24 As Single, m31 As Single, m32 As Single, m33 As Single, m34 As Single, m41 As Single, m42 As Single, m43 As Single, m44 As Single) As Matrix4x4

Parameters

m11
Single

The value to assign to M11.

m12
Single

The value to assign to M12.

m13
Single

The value to assign to M13.

m14
Single

The value to assign to M14.

m21
Single

The value to assign to M21.

m22
Single

The value to assign to M22.

m23
Single

The value to assign to M23.

m24
Single

The value to assign to M24.

m31
Single

The value to assign to M31.

m32
Single

The value to assign to M32.

m33
Single

The value to assign to M33.

m34
Single

The value to assign to M34.

m41
Single

The value to assign to M41.

m42
Single

The value to assign to M42.

m43
Single

The value to assign to M43.

m44
Single

The value to assign to M44.

Returns

A Matrix4x4 whose elements are set to the specified values.

Applies to