SampSharp
SampSharp
SampSharp.GameMode
Vector3 Structure
Vector3 Methods
Barycentric Method
CatmullRom Method
Clamp Method
Cross Method
Distance Method
DistanceSquared Method
DistanceTo Method
Dot Method
Equals Method
GetHashCode Method
Hermite Method
Lerp Method
Max Method
Min Method
Normalize Method
Normalized Method
Reflect Method
SmoothStep Method
ToString Method
Transform Method
TransformNormal Method
Vector3
Clamp Method
Clamps the specified value within a range.
Namespace:
SampSharp.GameMode
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
static
Vector3
Clamp
(
Vector3
value1
,
Vector3
min
,
Vector3
max
)
Parameters
value1
Type:
SampSharp.GameMode
Vector3
The value to clamp.
min
Type:
SampSharp.GameMode
Vector3
The min value.
max
Type:
SampSharp.GameMode
Vector3
The max value.
Return Value
Type:
Vector3
The clamped value.
See Also
Reference
Vector3 Structure
SampSharp.GameMode Namespace