dec
Decrements both vector values - subtracts 1 from x and y. To avoid creating a new vector instance, use Vector2.minusAssign instead.
Return
a new Vector2 instance with the operation result.
Decrements all vector values - subtracts 1 from x, y and z. To avoid creating a new vector instance, use Vector3.minusAssign instead.
Return
a new Vector3 instance with the operation result.
Decrements all vector values - subtracts 1 from X, Y, Z and W components. To avoid creating a new vector instance, use Vector4.minusAssign instead.
Return
a new Vector4 instance with the operation result.