Contents

init(stiffness:)

Creates an inflation configuration that defaults to the mesh volume.

Declaration

init(stiffness: Float = 1.0)

Parameters

  • stiffness:

    The resistance to diverge from the target volume. Valid range is [0.0, 1.0].

See Also

Creating an inflation constraint