XMFLOAT3X3 structure (directxmath.h)
A 3x3 floating-point matrix.
Note
See Library internals for info about equivalent D3DDECLTYPE, D3DFORMAT, and DXGI_FORMAT objects.
Syntax
struct XMFLOAT3X3 {
union {
struct {
float _11;
float _12;
float _13;
float _21;
float _22;
float _23;
float _31;
float _32;
float _33;
};
float m[3][3];
};
void XMFLOAT3X3();
void XMFLOAT3X3(
const XMFLOAT3X3 & unnamedParam1
);
XMFLOAT3X3 & operator=(
const XMFLOAT3X3 & unnamedParam1
);
void XMFLOAT3X3(
XMFLOAT3X3 && unnamedParam1
);
XMFLOAT3X3 & operator=(
XMFLOAT3X3 && unnamedParam1
);
void XMFLOAT3X3(
float m00,
float m01,
float m02,
float m10,
float m11,
float m12,
float m20,
float m21,
float m22
) noexcept;
void XMFLOAT3X3(
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 XMFLOAT3X3 & unnamedParam1
);
auto operator<=>(
const XMFLOAT3X3 & 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.
m[3]
A 2-dimensional 3x3 array representing the matrix.
Default constructor for XMFLOAT3X3
Default constructor for XMFLOAT3X3
void XMFLOAT3X3( const XMFLOAT3X3 & unnamedParam1)
Default constructor for XMFLOAT3X3
Default constructor for XMFLOAT3X3
XMFLOAT3X3 & operator=( const XMFLOAT3X3 & unnamedParam1)
Assigns the vector component data from one instance of XMFLOAT3X3
to the current instance of XMFLOAT3X3
.
This operator assigns the vector component data from one instance of XMFLOAT3X3 to the current instance of XMFLOAT3X3
.
void XMFLOAT3X3( XMFLOAT3X3 && unnamedParam1)
Default constructor for XMFLOAT3X3
Default constructor for XMFLOAT3X3
XMFLOAT3X3 & operator=( XMFLOAT3X3 && unnamedParam1)
Initializes a new instance of the XMFLOAT3X3
structure from nine scalar
float
values.
Initializes a new instance of the XMFLOAT3X3 structure from nine
scalar float
values.
void XMFLOAT3X3( const float *pArray) noexcept
Initializes a new instance of the XMFLOAT3X3
structure from a nine element
float
array.
Initializes a new instance of the XMFLOAT3X3 structure from a nine
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 XMFLOAT3X3
as
specified by row and column arguments.
This operator returns a reference
to a matrix element of an instance XMFLOAT3X3 as specified by row and column arguments.
bool operator==( const XMFLOAT3X3 & unnamedParam1)
auto operator<=>( const XMFLOAT3X3 & unnamedParam1)
Remarks
The scalar members of XMFLOAT3X3 have names that follow the form _<row_number><column_number> (for example, _11). They provide 1-based indexing, where row_number specifies the 1-based matrix row (ranging from 1 to 3), and column_number specifies the 1-based matrix column (ranging from 1 to 3).
The member m is a 2-dimensional 3x3 array. It provides 0-based indexing of the structure's matrix. When accessing m[<row_index>, <column_index>], <row_index> ranges from 0 to 2, and <column_index> ranges from 0 to 2.
You can load an XMMATRIX from an XMFLOAT3X3 by using XMLoadFloat3x3.
You can store an XMMATRIX into an XMFLOAT3X3 by using XMStoreFloat3x3.
Requirements
Requirement | Value |
---|---|
Header | directxmath.h |