Click or drag to resize

Vector2GetClamp Method

Restricts the current instance of Vector2 to be within a specified range and returns the clamped value.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public Vector2 GetClamp(
	Vector2 min,
	Vector2 max
)

Parameters

min  Vector2
The minimum value.
max  Vector2
The maximum value.

Return Value

Vector2
The clamped instance of Vector2.
See Also