SampSharp
SampSharp
SampSharp.Entities.SAMP
Vector2 Structure
Vector2 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
Reflect Method
SmoothStep Method
ToString Method
Transform Method
TransformNormal Method
Vector2
SmoothStep Method
Creates a new
Vector2
that contains cubic interpolation of the specified vectors.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
static
Vector2
SmoothStep
(
Vector2
value1
,
Vector2
value2
,
float
amount
)
Parameters
value1
Type:
SampSharp.Entities.SAMP
Vector2
Source
Vector2
.
value2
Type:
SampSharp.Entities.SAMP
Vector2
Source
Vector2
.
amount
Type:
System
Single
Weighting value.
Return Value
Type:
Vector2
Cubic interpolation of the specified vectors.
See Also
Reference
Vector2 Structure
SampSharp.Entities.SAMP Namespace