Vector2UnaryNegation Operator |
Reverses the direction of a given vector.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static Vector2 operator -(
Vector2 v
)
Parameters
- v Vector2
- The vector to negate.
Return Value
Vector2A vector facing in the opposite direction.
See Also