Created by: DolphinDream
Based on PR #1440 discussion the MixNumber node was restructured into a MixInput node that handles, in addition to the Int/Float types, also: Vectors, Colors, Quaternions and Matrices. The UI was also slightly updated and new features added.
-
The node now has a Mode drop-down to select from the available types: Int, Float, Color, Vector, Matrix and Quaternion.
-
The easing in/out/in_out dropdown was grouped with the interpolation dropdown to simplify the UI.
-
The new SWAP option allows the inputs A/B to be swapped.
-
The new MIRROR option allows the interpolation factor to be mirrored around 0.5 (e.g. a factor 0->1 will translate to 0->1->0 thus interpolating the inputs A&B form A->B->A.
-
The output value name matches the selected type.
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.
Mix Numbers vs Mix Inputs UI:
All mixing types:
