Use Transit by Time to move from value A to value B according to the set interpolator within the set time range (supporting Number, Vec2, Vec3, Vec4, Color). Transit by Time is in the Utility category.
|Start||Exec||Start the transition at the “from” value|
|Pause||Exec||Pause the transition|
|Resume||Exec||Resume the transition|
|Stop||Exec||Stop the transition|
|From||Number||Start value of the transition|
|To||Number||End value of the transition|
|Duration||Number||Duration of the transition|
|Interpolator||String||Type of interpolators including Linear, Ease-in, Ease-out, Ease-in-out, Ease-out-in|
|Loop||Number||Loop count of the transition|
|Begin||Exec||Execute the next node when the transition begins|
|Stay||Exec||Keep executing the next node when the transition stay working|
|End||Exec||Execute the next node when the whole transition is finished|
|Current||Number||Current interpolated value|
In this example, we use the Transit by Time component to interpolate the color and size of the bling texture when the user opens mouth. The transition is triggered by the start of the mouth open, paused by mouth open end, and resumed when mouth open stays. The duration variable controls how fast the transition happens, and the loop controls how many loops of transition happen.