Vector2GetTruncate Method |
Rounds a given vector towards zero for each component in it and returns the truncated vector.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public Vector2 GetTruncate(
Vector2 v
)
Parameters
- v
- Type: NeoAxisVector2
The vector to truncate.
Return Value
Type:
Vector2The truncated vector
See Also