Interpolate

From RealMotion Wiki

Logic/Animation/Interpolate

Alternate between two data or textures based depending on a float or a texture pixels value. ​

Description

The Interpolate box alternate between two data depending on a normalized float. When interpolation texture, a texture can be used and each pixel is interpolated upon the corresponding pixels of the interpolant texture.


General Use Case: This box is useful for transitions and is very versatile as multiple types can be interpolated based on float or texture.

Inputs

Input-1 Float, Float2, Float3, Float4, Float Vector, Int, Int2, Int3, Int4, Int Vector, 2D Texture Receives the first data to interpolate from.
Input-2 Float, Float2, Float3, Float4, Float Vector, Int, Int2, Int3, Int4, Int Vector, 2D Texture Receives the second data to interpolate from.
Interpolant Float, 2D Texture Receives the value to control the interpolation. The range is 0.0 to 1.0. Texture interpolant is a mask alternating between Input 1 and Input 2.

Outputs

Output Float, Float2, Float3, Float4, Float Vector, Int, Int2, Int3, Int4, Int Vector, 2D Render Target Outputs the interpolation result.

Parameters

Interpolation Type String Indicates the Types used for the interpolation.

See Also

Boxes related

Texture, Animator, Damping, Fade, Timeline, Float, ​​

Version Information

Current documentation version: 2.1.0. ​ ​