ReferenceScripting APIMotionScenelerp
MotionScene.lerp
methodBetween a and b, t of the way.
| Name | lerp |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.lerp(…) |
| As a node | Lerp (logic graph) |
| Since | 0.3 |
Syntax
lerp( a: number, b: number, t: number): numberParameters
| Name | Type | Description |
|---|---|---|
a | number | From |
b | number | To |
t | number | 0 to 1 |
Returns
number: the number.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.