iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIOrbitModifier3D

@interface SCIOrbitModifier3D : SCIGestureModifierBase3D

The SCIOrbitModifier3D provides the behaviour of orbit (rotation around camera target).

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var gestureRecognizer: UIPanGestureRecognizer? { get }
  • Creates a new instance of the SCIOrbitModifier3D 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.