XMFLOAT4X3 structure (directxmath.h)
A 4*3 floating point matrix.
For a list of additional functionality such as constructors and operators that are available using XMFLOAT4X3
when you
are programming in C++, see XMFLOAT4X3 Extensions.
Syntax
struct XMFLOAT4X3 {
union {
struct {
float _11;
float _12;
float _13;
float _21;
float _22;
float _23;
float _31;
float _32;
float _33;
float _41;
float _42;
float _43;
};
float m[4][3];
float f[12];
};
void XMFLOAT4X3();
void XMFLOAT4X3(
const XMFLOAT4X3 & unnamedParam1
);
XMFLOAT4X3 & operator=(
const XMFLOAT4X3 & unnamedParam1
);
void XMFLOAT4X3(
XMFLOAT4X3 && unnamedParam1
);
XMFLOAT4X3 & operator=(
XMFLOAT4X3 && unnamedParam1
);
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;
void XMFLOAT4X3(
const float *pArray
) noexcept;
float operator()(
size_t Row,
size_t Column
) noexcept;
float & operator()(
size_t Row,
size_t Column
) noexcept;
bool operator==(
const XMFLOAT4X3 & unnamedParam1
);
auto operator<=>(
const XMFLOAT4X3 & unnamedParam1
);
};
Members
_11
An element of the matrix.
_12
An element of the matrix.
_13
An element of the matrix.
_21
An element of the matrix.
_22
An element of the matrix.
_23
An element of the matrix.
_31
An element of the matrix.
_32
An element of the matrix.
_33
An element of the matrix.
_41
An element of the matrix.
_42
An element of the matrix.
_43
An element of the matrix.
m[4]
A 4*3 array representing the matrix.
f[12]
Default constructor for XMFLOAT4X3
Default constructor for XMFLOAT4X3
void XMFLOAT4X3( const XMFLOAT4X3 & unnamedParam1)
Default constructor for XMFLOAT4X3
Default constructor for XMFLOAT4X3
XMFLOAT4X3 & operator=( const XMFLOAT4X3 & unnamedParam1)
Assigns the vector component data from one instance of XMFLOAT4X3
to the current instance of XMFLOAT4X3
.
This operator assigns the vector component data from one instance of XMFLOAT4X3 to the current instance of XMFLOAT4X3
.
Note
This operator is available only under C++.
void XMFLOAT4X3( XMFLOAT4X3 && unnamedParam1)
Default constructor for XMFLOAT4X3
Default constructor for XMFLOAT4X3
XMFLOAT4X3 & operator=( XMFLOAT4X3 && unnamedParam1)
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.
void XMFLOAT4X3( const float *pArray) noexcept
Initializes a new instance of the XMFLOAT4X3
structure from a twelve element
float
array.
Initializes a new instance of the XMFLOAT4X3 structure from a
twelve element float
array.
float operator()( size_t Row, size_t Column) noexcept
float & operator()( size_t Row, size_t Column) noexcept
Returns a reference
to a matrix element of an instance XMFLOAT4X3
as specified by row and column
arguments.
This operator returns a reference
to a matrix element of an instance XMFLOAT4X3 as
specified by row and column arguments.
bool operator==( const XMFLOAT4X3 & unnamedParam1)
auto operator<=>( const XMFLOAT4X3 & unnamedParam1)
Remarks
Scalar members of XMFLOAT4X3
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 3).
The two dimensional 4*3 array member of XMFLOAT4X3
, m, provides zero based indexing of the structure's
matrix. When accessing XMFLOAT4X3
m[Row,Col], Row can run from 0 to 3 and Col can run from 0 to 2.
XMFLOAT4X3
can be loaded into instances of XMVECTOR by using
XMLoadFloat4x3.
Instances of XMVECTOR
can be stored into an instance of XMFLOAT4X3
with
XMStoreFloat4x3.
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
Requirement | Value |
---|---|
Header | directxmath.h |