{{description>Interpolate between two Shapes with Variable Mix Shapes for use as input to Shape Extrusion, allowing varied interpolation along the extrusion.}}
====== Variable Mix Shapes ======
This component is used in example scene(s) such as:
27_CGVariableExtrusion.
Blends two [[..:datatypes#Shape|Shapes]] into one, with a blend ratio that changes along the extrusion. Connect its output as the Shape input of a [[.:shapeextrusion|Shape Extrusion]] module.
Example use: a tube that starts as a circle and gradually becomes a square.
For a fixed blend that stays constant along the extrusion, use [[.:mix|Mix Shapes]] instead.
===== Slots =====
==== Inputs ====
^ Name ^ Type ^ Description ^
| Shape A | [[..:datatypes#Shape|Shape]] | First shape |
| Shape B | [[..:datatypes#Shape|Shape]] | Second shape |
==== Outputs ====
^ Name ^ Type ^ Description ^
| Shape | [[..:datatypes#Shape|Shape]] | The blended shape, varying along the extrusion |
===== Settings =====
=== Mix Curve ===
A curve defining how much of each shape to use at each point along the extrusion.
* **X axis** - position along the extrusion (0 = start, 1 = end)
* **Y axis** - blend value (-1 = all Shape A, 1 = all Shape B)