XMFLOAT2::operator= function (directxmath.h)
Assigns the vector component data from one instance of XMFLOAT2
to the current instance of XMFLOAT2
.
This operator assigns the vector component data from one instance of XMFLOAT2 to the current instance of XMFLOAT2
.
Note This operator is only available under C++.
Syntax
XMFLOAT2 & operator=(
const XMFLOAT2 & unnamedParam1
);
Parameters
unnamedParam1
Instance of XMFLOAT2
used to update the current XMFLOAT2
structure.
Return value
The current instance of XMFLOAT2
whose vector component data has been updated to match those of the XMFLOAT2
instance specified by the Float2 argument.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | directxmath.h |