Click or drag to resize

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: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public Vector2 GetTruncate(
	Vector2 v
)

Parameters

v
Type: NeoAxisVector2
The vector to truncate.

Return Value

Type: Vector2
The truncated vector
See Also