Zorb_Vibration

public struct Zorb_Vibration

A vibration consists of:

1) the unsigned integer of LRA channels with which to communicate

2) the delay to apply to the vibration in milliseconds

3) the duration of the vibration in milliseconds

4) the starting position within the vibration (amount to clip off the beginning)

5) the starting amplitude of the vibration

6) the ending amplitude of the vibration

7) the integer index of an easing equation to use in an array of easing functions

  • Undocumented

    Declaration

    Swift

    public var channels: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var delay: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var duration: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var position: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var start: UInt32 = 0
  • end

    Undocumented

    Declaration

    Swift

    public var end: UInt32 = 0
  • Undocumented

    Declaration

    Swift

    public var easing: UInt32 = 0
  • Declaration

    Swift

    public var unknownFields = SwiftProtobuf.UnknownStorage()
  • Declaration

    Swift

    public init()
  • Declaration

    Swift

    public static let protoMessageName: String = _protobuf_package + ".Vibration"
  • Declaration

    Swift

    public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
  • Declaration

    Swift

    public mutating func decodeMessage<D: SwiftProtobuf.Decoder>(decoder: inout D) throws
  • Declaration

    Swift

    public func traverse<V: SwiftProtobuf.Visitor>(visitor: inout V) throws
  • Declaration

    Swift

    public static func ==(lhs: Zorb_Vibration, rhs: Zorb_Vibration) -> Bool