Pulsing

public struct Pulsing : Equatable

The configration parameters for sonar-like pulsing circle animation shown around the 2D puck.

  • Undocumented

    Declaration

    Swift

    public static let `default`: Puck2DConfiguration.Pulsing
  • Circle radius configuration for the pulsing circle animation.

    See more

    Declaration

    Swift

    public enum Radius : Equatable
  • Flag determining whether the pulsing circle animation. true by default.

    Declaration

    Swift

    public var isEnabled: Bool
  • The color of the pulsing circle.

    Declaration

    Swift

    public var color: UIColor
  • The radius of the pulsing circle.

    Declaration

    Swift

    public var radius: Radius
  • Create a pulsing animation config with a color and radius.

    Declaration

    Swift

    public init(color: UIColor = UIColor(red: 0.29, green: 0.565, blue: 0.886, alpha: 1),
                radius: Radius = .constant(30))

    Parameters

    color

    The color of the pulsing circle.

    radius

    The radius of the pulsing circle.