iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIZoomExtentsModifier3D
@interface SCIZoomExtentsModifier3D : SCIGestureModifierBase3D
The SCIZoomExtentsModifier3D provides the behaviour of zoom camera to fit on mouse double click on a 3D chart.
-
Defines the reset target.
Note
This is theSCIVector3in 3D world coordinates where theISCIChartSurface3D.cameraISCICameraController.targetis moved to.Declaration
Objective-C
@property (nonatomic, strong) SCIVector3 *_Nonnull resetTarget;Swift
var resetTarget: SCIVector3 { get set } -
Defines the reset position.
Note
This is theSCIVector3in 3D world coordinates where theISCIChartSurface3D.cameraISCICameraController.positionis moved to.Declaration
Objective-C
@property (nonatomic, strong) SCIVector3 *_Nonnull resetPosition;Swift
var resetPosition: SCIVector3 { get set } -
Definies when the
SCIZoomExtentsModifier3Dshould be executed.Note
e.g.SCIExecuteOn.SCIExecuteOn_DoubleTapwill cause a zoom to extents on double tap on the parentSCIChartSurface3Dinstance.Declaration
Objective-C
@property (nonatomic) SCIExecuteOn executeOn;Swift
var executeOn: SCIExecuteOn { get set } -
When YES, attempts to
auto-fitthe camera radius to fit the scene. When NO - uses theresetPositionandresetTargetinstead.Declaration
Objective-C
@property (nonatomic) BOOL autoFitRadius;Swift
var autoFitRadius: Bool { get set } -
Defines the animation duration in milliseconds for any zoom operations
Declaration
Objective-C
@property (nonatomic) NSTimeInterval animationDuration;Swift
var animationDuration: TimeInterval { get set }
View on GitHub