Vector2IUnaryNegation Operator |
Reverses the direction of a given vector.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static Vector2I operator -(
Vector2I v
)
Parameters
- v
- Type: NeoAxisVector2I
The vector to negate.
Return Value
Type:
Vector2IA vector facing in the opposite direction.
See Also