Click or drag to resize
Vector3Clamp 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 Vector3 Clamp(
	Vector3 value1,
	Vector3 min,
	Vector3 max
)

Parameters

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

Return Value

Type: Vector3
The clamped value.
See Also