operator * operators

Multiplication operators

Overload list

Operator Description
XMVECTOR::operator * (float,XMVECTOR) Multiply a floating point value by an instance of XMVECTOR, returning the result a new instance of XMVECTOR.
The operator * multiplies a floating point value against each component of an instance of XMVECTOR Data Type, returning a new XMVECTOR instance whose components contain the result.
[!Note]
This operator is only available under C++.

XMVECTOR::operator * (XMVECTOR,float) Multiply an instance of XMVECTOR by a floating point value, returning the result a new instance of XMVECTOR.
The operator * multiplies each component of an instance of XMVECTOR Data Type by a floating point value, returning a new XMVECTOR instance whose components contain the result.
[!Note]
This operator is only available under C++.

XMVECTOR::operator * (XMVECTOR,XMVECTOR) Multiplies one instance of XMVECTOR by a second instance, returning the result in a third instance.
The operator * multiplies each component of an instance of XMVECTOR Data Type by the corresponding component in a second instance of XMVECTOR, returning a new XMVECTOR instance containing the result.
[!Note]
This operator is only available under C++.

See also

XMVECTOR Operators

Reference

XMVECTOR Data Type