MathHelperLerp Method (Int32, Int32, Single)

RAGE Plugin Hook Documentation

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

Gets a new value between the specified start and end values, designated by the percentage.

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

public static int Lerp(
	int start,
	int end,
	float percent
)

Parameters

start
Type: SystemInt32
The start.
end
Type: SystemInt32
The end.
percent
Type: SystemSingle
The percent.

Return Value

Type: Int32
The new value.
See Also

Reference