Vector4SmoothStep Method (Vector4, Vector4, Single)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Performs a cubic interpolation between two vectors.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Vector4 SmoothStep(
	Vector4 start,
	Vector4 end,
	float amount
)

Parameters

start
Type: RageVector4
Start vector.
end
Type: RageVector4
End vector.
amount
Type: SystemSingle
Value between 0 and 1 indicating the weight of end.

Return Value

Type: Vector4
The cubic interpolation of the two vectors.
See Also

Reference