MCPcopy
hub / github.com/4ian/GDevelop / getValue

Function getValue

Extensions/TweenBehavior/tweentools.ts:251–256  ·  view source on GitHub ↗
(
        runtimeScene: RuntimeScene,
        identifier: string
      )

Source from the content-addressed store, hash-verified

249 * @returns Value of playing tween animation
250 */
251 export const getValue = (
252 runtimeScene: RuntimeScene,
253 identifier: string
254 ): float => {
255 return getTweensMap(runtimeScene).getValue(identifier);
256 };
257
258 const linearInterpolation = gdjs.evtTools.common.lerp;
259 const exponentialInterpolation =

Callers 4

checkProgressFunction · 0.50
checkProgressFunction · 0.50
checkProgressFunction · 0.50
checkProgressFunction · 0.50

Calls 2

getTweensMapFunction · 0.85
getValueMethod · 0.65

Tested by 4

checkProgressFunction · 0.40
checkProgressFunction · 0.40
checkProgressFunction · 0.40
checkProgressFunction · 0.40