LivePoint

public class LivePoint : LiveValue, CustomStringConvertible

Undocumented

  • Undocumented

    Declaration

    Swift

    public var name: String?
  • x

    Undocumented

    Declaration

    Swift

    public var x: LiveFloat
  • y

    Undocumented

    Declaration

    Swift

    public var y: LiveFloat
  • Declaration

    Swift

    public var description: String { get }
  • Undocumented

    Declaration

    Swift

    public var size: LiveSize { get }
  • Undocumented

    Declaration

    Swift

    public var uniformIsNew: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var uniformList: [CGFloat] { get }
  • cg

    Undocumented

    Declaration

    Swift

    public var cg: CGPoint { get }
  • Undocumented

    Declaration

    Swift

    public static var zero: LivePoint { get }
  • Undocumented

    Declaration

    Swift

    public static var touchXY: LivePoint { get }
  • Undocumented

    Declaration

    Swift

    public init(_ liveValue: @escaping () -> (CGPoint))
  • Undocumented

    Declaration

    Swift

    public init(x: LiveFloat, y: LiveFloat)
  • Undocumented

    Declaration

    Swift

    public init(_ point: CGPoint)
  • Undocumented

    Declaration

    Swift

    public init(name: String, point: CGPoint)
  • Undocumented

    Declaration

    Swift

    public init(_ vector: CGVector)
  • Undocumented

    Declaration

    Swift

    public init(name: String, vector: CGVector)
  • Undocumented

    Declaration

    Swift

    public func delay(frames: LiveInt) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public func delay(seconds: LiveFloat) -> LivePoint
  • filter over seconds. smooth off is linear. smooth on is cosine smoothness (default)

    Declaration

    Swift

    public func filter(seconds: LiveFloat, smooth: Bool = true) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public func liveCircle(seconds: LiveFloat = 1.0, scale: LiveFloat = 1.0) -> LivePoint
  • noise is a combo of liveRandom and smooth filter

    deafults - liveRandom range: -0.5…0.5 - filter seconds: 1.0

    Declaration

    Swift

    public static func noise(xRange: ClosedRange<CGFloat> = -0.5...0.5,
                             yRange: ClosedRange<CGFloat> = -0.5...0.5,
                             seconds: LiveFloat = 1.0) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func topLeft(res: PIX.Res) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func topRight(res: PIX.Res) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func bottomLeft(res: PIX.Res) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func bottomRight(res: PIX.Res) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func == (lhs: LivePoint, rhs: LivePoint) -> LiveBool
  • Undocumented

    Declaration

    Swift

    public static func != (lhs: LivePoint, rhs: LivePoint) -> LiveBool
  • Undocumented

    Declaration

    Swift

    public static func + (lhs: LivePoint, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func + (lhs: LivePoint, rhs: LiveFloat) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func + (lhs: LiveFloat, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func += (lhs: inout LivePoint, rhs: LivePoint)
  • Undocumented

    Declaration

    Swift

    public static func += (lhs: inout LivePoint, rhs: LiveFloat)
  • Undocumented

    Declaration

    Swift

    public static func - (lhs: LivePoint, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func - (lhs: LivePoint, rhs: LiveFloat) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func - (lhs: LiveFloat, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func -= (lhs: inout LivePoint, rhs: LivePoint)
  • Undocumented

    Declaration

    Swift

    public static func -= (lhs: inout LivePoint, rhs: LiveFloat)
  • Undocumented

    Declaration

    Swift

    public static func * (lhs: LivePoint, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func * (lhs: LivePoint, rhs: LiveFloat) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func * (lhs: LiveFloat, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func *= (lhs: inout LivePoint, rhs: LivePoint)
  • Undocumented

    Declaration

    Swift

    public static func *= (lhs: inout LivePoint, rhs: LiveFloat)
  • Undocumented

    Declaration

    Swift

    public static func / (lhs: LivePoint, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func / (lhs: LivePoint, rhs: LiveFloat) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func / (lhs: LiveFloat, rhs: LivePoint) -> LivePoint
  • Undocumented

    Declaration

    Swift

    public static func /= (lhs: inout LivePoint, rhs: LivePoint)
  • Undocumented

    Declaration

    Swift

    public static func /= (lhs: inout LivePoint, rhs: LiveFloat)
  • Undocumented

    Declaration

    Swift

    public func flipX() -> LivePoint
  • Undocumented

    Declaration

    Swift

    public func flipY() -> LivePoint
  • Undocumented

    Declaration

    Swift

    public func flipXY() -> LivePoint
  • Undocumented

    Declaration

    Swift

    public func flop() -> LivePoint