Click or drag to resize
Vector2Clamp Method
Clamps the specified value within a range.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public static Vector2 Clamp(
	Vector2 value1,
	Vector2 min,
	Vector2 max
)

Parameters

value1
Type: SampSharp.GameModeVector2
The value to clamp.
min
Type: SampSharp.GameModeVector2
The min value.
max
Type: SampSharp.GameModeVector2
The max value.

Return Value

Type: Vector2
The clamped value.
See Also