MathHelperUnLerp Method (Int64, Int64, Int64)

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 long UnLerp(
	long start,
	long end,
	long lerpedValue
)

Parameters

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

Return Value

Type: Int64
The lerp percentage.
See Also

Reference