Click or drag to resize

Vector2SmoothStep Method

Creates a new Vector2 that contains cubic interpolation of the specified vectors.

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public static Vector2 SmoothStep(
	Vector2 value1,
	Vector2 value2,
	float amount
)

Parameters

value1
Type: SampSharp.GameModeVector2
Source Vector2.
value2
Type: SampSharp.GameModeVector2
Source Vector2.
amount
Type: SystemSingle
Weighting value.

Return Value

Type: Vector2
Cubic interpolation of the specified vectors.
See Also