operator*= (multiply)
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*=(
XMVECTOR & V,
float S
) noexcept;
Parameters
V
Reference to current instance of XMVECTOR.
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
Requirement | Value |
---|---|
Header | directxmath.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for