MathHelperUnLerp Method (Double, Double, Double)

RAGE Plugin Hook Documentation

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

Gets the original percentage provided to Lerp, given the start, end and lerped value.

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

public static double UnLerp(
	double start,
	double end,
	double lerpedValue
)

Parameters

start
Type: SystemDouble
The start.
end
Type: SystemDouble
The end.
lerpedValue
Type: SystemDouble
The lerped value.

Return Value

Type: Double
The lerp percentage.
See Also

Reference