iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIFreeLookModifier3D

@interface SCIFreeLookModifier3D : SCIGestureModifierBase3D

The SCIFreeLookModifier3D provides the behaviour of free look (free rotation of camera).

  • Defines the number of degrees (angle) to orbit the target for each pixel.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) float degreesPerPixelSensitivity;

    Swift

    var degreesPerPixelSensitivity: Float { get set }
  • Defines the UIPanGestureRecognizer which is used to detect gestures.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        UIPanGestureRecognizer *gestureRecognizer;

    Swift

    var gestureRecognizer: UIPanGestureRecognizer? { get }
  • Creates a new instance of the SCIFreeLookModifier3D class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDefaultNumberOfTouches:
        (NSUInteger)numberOfTouches;

    Swift

    init(defaultNumberOfTouches numberOfTouches: UInt)

    Parameters

    numberOfTouches

    The default number of touches which will be used by underlying gestureRecognizer.