The Lab
MISC native

_GET_EASING_CURVE_VALUE

returns float4 paramsbuild 1207

Evaluates the easing curve easingCurveType at time t, using b as the start value and d as the duration, and returns the result.

Signature

C
float _GET_EASING_CURVE_VALUE(float t, float b, float d, int easingCurveType); // 0xEF50E344A8F93784 b1207

Parameters

#NameType
1tfloat
2bfloat
3dfloat
4easingCurveTypeint

Facts

Facts about _GET_EASING_CURVE_VALUE
Name
_GET_EASING_CURVE_VALUE
Hash
0xEF50E344A8F93784
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xEF50E344A8F93784, -- _GET_EASING_CURVE_VALUE
  0.0, -- float t
  0.0, -- float b
  0.0, -- float d
  0, -- int easingCurveType
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xEF50E344A8F93784", // _GET_EASING_CURVE_VALUE
  0.0, // float t
  0.0, // float b
  0.0, // float d
  0, // int easingCurveType
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0xEF50E344A8F93784, // _GET_EASING_CURVE_VALUE
  0.0f, // float t
  0.0f, // float b
  0.0f, // float d
  0 // int easingCurveType
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.