DefaultViewportTransitionOptions

public struct DefaultViewportTransitionOptions : Hashable

Configuration options for DefaultViewportTransition.

  • The maximum duration of the transition.

    Declaration

    Swift

    public var maxDuration: TimeInterval
  • Memberwise initializer for DefaultViewportTransitionOptions.

    Declaration

    Swift

    public init(maxDuration: TimeInterval = 3.5)

    Parameters

    maxDuration

    Defaults to 3.5.