tween
Android
public fun tween(from: RemoteColor, to: RemoteColor, tween: RemoteFloat): RemoteColor
Creates a remote color that interpolates between two RemoteColors based on a tween factor. This allows for dynamic color transitions where both the start/end colors and the interpolation factor can be remote expressions.
Parameters
| from | The starting RemoteColor. |
| to | The ending RemoteColor. |
| tween | A RemoteFloat representing the interpolation factor in range [0..1]. |
Returns
| A new RemoteColor representing the tweened color. |