Contents

matchedGeometry

Returns the matched geometry glass effect transition.

Declaration

static var matchedGeometry: GlassEffectTransition { get }

Mentioned in

Discussion

The matched geometry transition allows the geometries of glass shapes during an appearance or disappearance phase of a transition to be derived from the geometry of a nearby shape within the glass container.

For example, if a newly appearing shape is within the spacing of any existing shape, it will use that shapes geometry to transition out of.

When using the default, this transition applies additional scale and offset effects to content when the identity of the shape does not change but its content does. Opt out of these additional animations by providing a specific animation like spring.