SampSharp
SampSharp
SampSharp.GameMode
Vector4 Structure
Vector4 Methods
Barycentric Method
CatmullRom Method
Clamp 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
SmoothStep Method
ToString Method
Transform Method
Vector4
Lerp Method
Creates a new
Vector4
that contains linear interpolation of the specified vectors.
Namespace:
SampSharp.GameMode
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
Copy
public
static
Vector4
Lerp
(
Vector4
value1
,
Vector4
value2
,
float
amount
)
Parameters
value1
Type:
SampSharp.GameMode
Vector4
The first vector.
value2
Type:
SampSharp.GameMode
Vector4
The second vector.
amount
Type:
System
Single
Weighting value(between 0.0 and 1.0).
Return Value
Type:
Vector4
The result of linear interpolation of the specified vectors.
See Also
Reference
Vector4 Structure
SampSharp.GameMode Namespace