MorphSkinStyle class
A named bundle of fusion knobs - in the spirit of MorphMotion presets. k and cell are distances in pixels: the presets are calibrated for button-scale UI (pieces of 40-150px); scenes at other scales should scale k along via an explicit MorphSkin.blend.
Constructors
- MorphSkinStyle({required String name, required double blend, double cell = 6, int smoothPasses = 2})
-
Creates a named knob bundle.
const
Properties
- blend → double
-
The fusion width in px: how far apart two masses may sit and
still pour into one skin (the smooth-min k of the field).
final
- cell → double
-
Outline grid step in px.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
Preset name, for debugging and toString.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smoothPasses → int
-
Chaikin smoothing passes over the traced contour.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- geometric → const MorphSkinStyle
- A crisp concave joint - "a tab poured into a panel".
- goo → const MorphSkinStyle
- An organic gooey neck.
- subtle → const MorphSkinStyle
- A barely-there fillet: the fusion reads without announcing itself.
-
values
→ const List<
MorphSkinStyle> - The built-in presets.