XMFLOAT4X3::XMFLOAT4X3(float,float,float,float,float,float,float,float,float,float,float,float) function (directxmath.h)
Initializes a new instance of the XMFLOAT4X3
structure from twelve scalar
float
values.
Initializes a new instance of the XMFLOAT4X3 structure from twelve
scalar float
values.
Syntax
void XMFLOAT4X3(
float m00,
float m01,
float m02,
float m10,
float m11,
float m12,
float m20,
float m21,
float m22,
float m30,
float m31,
float m32
) noexcept;
Parameters
m00
Value used to initialize the _11 member (equivalently the
m[0,0] member) of the XMFLOAT4X3
structure.
m01
Value used to initialize the _12 member (equivalently the
m[0,1]) of the XMFLOAT4X3
structure.
m02
Value used to initialize the _13 member (equivalently the
m[0,2]) of the XMFLOAT4X3
structure.
m10
Value used to initialize the _21 member (equivalently the
m[1,0]) of the XMFLOAT4X3
structure.
m11
Value used to initialize the _22 member (equivalently the
m[1,1]) of the XMFLOAT4X3
structure.
m12
Value used to initialize the _23 member (equivalently the
m[1,2]) of the XMFLOAT4X3
structure.
m20
Value used to initialize the _31 member (equivalently the
m[2,0]) of the XMFLOAT4X3
structure.
m21
Value used to initialize the _32 member (equivalently the
m[2,1]) of the XMFLOAT4X3
structure.
m22
Value used to initialize the _33 member (equivalently the
m[2,2]) of the XMFLOAT4X3
structure.
m30
Value used to initialize the _41 member (equivalently the
m[3,0]) of the XMFLOAT4X3
structure.
m31
Value used to initialize the _42 member (equivalently the
m[3,1]) of the XMFLOAT4X3
structure.
m32
Value used to initialize the _43 member (equivalently the
m[3,2]) of the XMFLOAT4X3
structure.
Return value
None
Remarks
The following two pseudocode examples demonstrate the operation of this constructor:
XMFLOAT4X3 mat;
mat._11 = m00;
mat._12 = m01;
mat._13 = m02;
mat._21 = m10;
mat._22 = m11;
mat._23 = m12;
mat._31 = m20;
mat._32 = m21;
mat._33 = m22;
mat._41 = m30;
mat._42 = m31;
mat._43 = m32;
Or
XMFLOAT4X3 mat;
mat.m[0,0] = m00;
mat.m[0,1] = m01;
mat.m[0,2] = m02;
mat.m[1,0] = m10;
mat.m[1,1] = m11;
mat.m[1,2] = m12;
mat.m[2,0] = m20;
mat.m[2,1] = m21;
mat.m[2,2] = m22;
mat.m[3,0] = m30;
mat.m[3,1] = m31;
mat.m[3,2] = m32;
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | directxmath.h |
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for