CK3DCubeDelegate

public protocol CK3DCubeDelegate : AnyObject

Methods you can implement to mediate events from CK3DCube

  • Tells the delegate that move gesture (single finger) has been done.

    Declaration

    Swift

    func gesture(didSinglePanWithVelocity: CGPoint)
  • Tells the delegate that translate gesture (double fingers) has been done.

    Declaration

    Swift

    func gesture(didDoublePanWithVelocity: CGPoint)
  • Tells the delegate that single tap gesture has been done.

    Declaration

    Swift

    func gesture(didSingleTapAtPosition position: CGPoint)
  • Tells the delegate that double tap gesture has been done.

    Declaration

    Swift

    func gesture(didDoubleTapAtPosition position: CGPoint)
  • Tells the delegate that zoom gesture (pinch) has been done.

    Declaration

    Swift

    func gesture(didPinchWithVelocity: CGFloat)