Vector4.op_UnaryNegation(Vector4) Method (Microsoft.DirectX)
Negates the vector.
Definition
Visual Basic Public Shared Function op_UnaryNegation( _
ByVal vec As Vector4 _
) As Vector4C# public static Vector4 op_UnaryNegation(
Vector4 vec
);C++ public:
static Vector4 operator-(
Vector4 vec
);JScript public static function op_UnaryNegation(
vec : Vector4
) : Vector4;
Parameters
vec Microsoft.DirectX.Vector4
Source Vector4 structure.
Return Value
Microsoft.DirectX.Vector4
The Vector4 structure that is the result of the operation.
Remarks
This method switches positive and negative values of the Vector4 structure's X, Y, and Z fields.