Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Multiplies an XMVECTOR instance by a floating point value and returns a reference to the updated instance.
The operator *= multiplies each component of the current instance of XMVECTOR Data Type by a specified floating point value, returning a reference to the updated current instance.
Note This operator is only available under C++.
Syntax
XMVECTOR& operator *=(
[ref] XMVECTOR &V,
float S
);
Parameters
V [ref]
Reference to current instance ofXMVECTOR.S
Floating point multiplicand.
Return value
Reference to the updated current instance of XMVECTOR.
Remarks
The following pseudocode demonstrates the operation of this operator:
XMVECTOR V;
V.x = V.x * S;
V.y = V.y * S;
V.z = V.z * S;
V.w = V.w * S;
Requirements
Namespace |
Use DirectX. |
Header |
DirectXMath.h |
See also
Reference