op_Subtraction

Vector3 UnaryNegation operator (1 of 2)

Operator overloading for -

public static Vector3 operator -(Vector3 v)
Parameter Type Description
v Vector3 The origin vector

Return Value

Result vector

See Also


Vector3 Subtraction operator (2 of 2)

Operator overloading for - (minus)

public static Vector3 operator -(Vector3 lhs, Vector3 rhs)
Parameter Type Description
lhs Vector3 The left vector
rhs Vector3 The right vector

Return Value

Result vector

See Also