XMFLOAT3X3::operator()(size_t,size_t) function (directxmath.h)
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.
Note This operator is only available under C++.
Syntax
float & operator()(
size_t Row,
size_t Column
) noexcept;
Parameters
Row
Row containing the matrix element of interest. Row specification is 0 based.
Column
Column containing the matrix element of interest. Column specification is 0 based.
Return value
A reference to the matrix element specified by the operator's
Row and Column arguments.
Remarks
As a reference to the matrix element is returned, this operator can be used
to update the value of an element of an instance of XMFLOAT3X3.
The following example:
XMFLOAT3X3 mat;
float& a= mat(1,2);
a=42.0;
|
Requirements
| Target Platform | Windows |
| Header | directxmath.h |
See also
Reference