XMFLOAT4X4 union
A 4*4 floating point matrix.
For a list of additional functionality such as constructors and operators that are available using XMFLOAT4X4 when you
are programming in C++, see XMFLOAT4X4 Extensions.
Syntax
union XMFLOAT4X4 { union { struct { float _11; float _12; float _13; float _14; float _21; float _22; float _23; float _24; float _31; float _32; float _33; float _34; float _41; float _42; float _43; float _44; }; float m[4][4]; }; };
Members
- _11
-
An element of the matrix.
- _12
-
An element of the matrix.
- _13
-
An element of the matrix.
- _14
-
An element of the matrix.
- _21
-
An element of the matrix.
- _22
-
An element of the matrix.
- _23
-
An element of the matrix.
- _24
-
An element of the matrix.
- _31
-
An element of the matrix.
- _32
-
An element of the matrix.
- _33
-
An element of the matrix.
- _34
-
An element of the matrix.
- _41
-
An element of the matrix.
- _42
-
An element of the matrix.
- _43
-
An element of the matrix.
- _44
-
An element of the matrix.
- m
-
A 4*4 array representing the matrix.
Remarks
Scalar members of XMFLOAT4X4 are of the form _RowCol, and provide one based indexing,
where Row specifies the one's based matrix row (running from 1 to 4), and
Col specifies the one's based matrix column (running from 1 to 4).
The two dimensional 4*4 array member of XMFLOAT4X4, m, provides zero based indexing of the structure's
matrix. When accessing XMFLOAT4X4m[Row,Col], Row can run from 0 to 3 and Col can run from 0 to 3.
XMFLOAT4X4 can be loaded into instances of XMVECTOR by using
XMLoadFloat4x4.
Instances of XMVECTOR can be stored into an instance of XMFLOAT4X4 with
XMStoreFloat4x4.
Namespace: Use DirectX
Platform Requirements
Microsoft Visual Studio 2010 or Microsoft Visual Studio 2012 with the Windows SDK for Windows 8. Supported for Win32 desktop apps, Windows Store apps, and Windows Phone 8 apps.
Requirements
|
Header |
|
|---|
See also