Determines whether all components of a given vector are unequal to the zero.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static bool AllNonZero(
Vector2 v
)
Parameters
- v
- Type: NeoAxisVector2
The vector to compare with the zero vector.
Return Value
Type:
BooleanTrue if all components of the specified vector are unequal to the zero; otherwise, False.
See Also