XMFLOAT3::operator= function (directxmath.h)

Assigns the vector component data from one instance of XMFLOAT3 to the current instance of XMFLOAT3.

This operator assigns the vector component data from one instance of XMFLOAT3 to the current instance of XMFLOAT3.

Note  This operator is only available under C++.

Syntax

XMFLOAT3 & operator=(
  const XMFLOAT3 & unnamedParam1
);

Parameters

unnamedParam1

Instance of XMFLOAT3 used to update the current XMFLOAT3 structure.

Return value

The current instance of XMFLOAT3 whose vector component data has been updated to match those of the XMFLOAT3 instance specified by the float3se argument.

Requirements

Requirement Value
Target Platform Windows
Header directxmath.h

See also

XMFLOAT3

XMFLOAT3 Operators