Click or drag to resize

Vector2HClamp Method

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

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void Clamp(
	Vector2H min,
	Vector2H max
)

Parameters

min
Type: NeoAxisVector2H
The minimum value.
max
Type: NeoAxisVector2H
The maximum value.

Return Value

Type: 
The clamped instance of Vector2H.
See Also