Reverses the direction of a given vector.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntaxpublic static void Negate(
ref Vector3 v,
out Vector3 result
)
Parameters
- v
- Type: NeoAxisVector3
The vector to negate. - result
- Type: NeoAxisVector3
When the method completes, contains a vector facing in the opposite direction.
See Also