Uređivanje

Dijeli putem


Vector3.UnaryNegation(Vector3) Operator

Definition

Negates the specified vector.

public:
 static System::Numerics::Vector3 operator -(System::Numerics::Vector3 value);
public static System.Numerics.Vector3 operator - (System.Numerics.Vector3 value);
static member ( ~- ) : System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Operator - (value As Vector3) As Vector3

Parameters

value
Vector3

The vector to negate.

Returns

The negated vector.

Remarks

The UnaryNegation method defines the unary negation operation for Vector3 objects.

Applies to