Interpolate
Last updated
Last updated
The Interpolate Node calculates intermediate values between an initial and a target value over a set amount of time. It is particularly useful for animations.
Scope: Project, Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| Drop-down | The numerical data type which will be interpolated. |
| Float | The length of time between the start and end of the interpolation, if it is not provided in the |
| Float | How frequently the interpolated value is updated and the output Pulse is triggered. |
| Defined in the | The value at the start of the interpolation, if one is not provided in the |
| Defined in the | The value at the end of the interpolation, if one is not provided in the |
Attribute | Type | Description |
---|---|---|
| Drop-down | Method used for calculating the intermediate values. |
| Drop-down | Whether the interpolation will be performed once, repeated or alternated. |
| Int (not available for | The number of times that the interpolation will be performed, if it is not provided in the |
| Bool | Whether the interpolation will be played indefinitely (this overrides the |
Input | Type | Description |
---|---|---|
| InstanceID | The assigned Instance of an Animation Block. |
| Pulse | Pulse to trigger the start of the interpolation. |
| Float | The length of time between the start and end of the interpolation. |
| Int | The number of times that the interpolation will be performed. |
| Defined in the | The value at the start of the interpolation. |
| Defined in the | The value at the end of the interpolation. |
| Pulse | Pulse to reset the interpolation. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| InstanceID | The previously assigned Instance of the Animation Block. |
| Defined in the | The intermediate value calculated. |
| Pulse | Pulse that gets triggered when the interpolation starts. |
| Pulse | Pulse that gets triggered when the interpolation resets. |
| Pulse | Pulse that gets triggered when the interpolation ends. |