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 void Negate(
ref Vector2 v,
out Vector2 result
)
Parameters
- v Vector2
- The vector to negate.
- result Vector2
- When the method completes, contains a vector facing in the opposite direction.
See Also