Parametric Shape
A UModeler X shape object that keeps its creation parameters live, so changing a value rebuilds the mesh in place.
A Parametric Shape is a shape that keeps the parameters used to create it.
Adjust Width, Height or Segments again in the Inspector and the mesh is rebuilt on the spot. You can create a box now and widen it to 2 m later, change only the step height of a staircase, or reduce the segment count of a cylinder — without modeling anything again.
How it differs from an Editable Mesh
| Parametric Shape | Editable Mesh | |
|---|---|---|
| Components | MeshFilter + MeshRenderer + UMXParametricShape | UModelerXEditableMesh |
| Shape defined by | Parameter values | Direct vertex / edge / face editing |
| Rebuilding | Automatic whenever a parameter changes | Edits are kept as they are |
| Modifiers | Non-destructive stack held by the component | Editable Mesh modifier stack |
| Element editing | Not available (control points only) | Available |
What it is good for
- Architecture and level blockout: rooms, stairs, arches and domes specified by real dimensions
- Prop assembly: a group holding several named parts sized from real-world measurements
- Repeated revisions: objects whose width or height keeps changing
- Anchor-based layout: children that follow the parent's size and position
- Script-driven creation: build a whole structure in one call with the DSL Language
