Matrix4x4.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Create(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)
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
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
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
Returns
A Matrix4x4 whose elements are set to the specified values.