Vector3SmoothStep Method (Vector3, Vector3, Single, Vector3)

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 void SmoothStep(
	ref Vector3 start,
	ref Vector3 end,
	float amount,
	out Vector3 result
)

Parameters

start
Type: RageVector3
Start vector.
end
Type: RageVector3
End vector.
amount
Type: SystemSingle
Value between 0 and 1 indicating the weight of end.
result
Type: RageVector3
When the method completes, contains the cubic interpolation of the two vectors.
See Also

Reference