
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 theSCIVector3
in 3D world coordinates where theISCIChartSurface3D.camera
ISCICameraController.target
is moved to.Declaration
Objective-C
@property (nonatomic, strong) SCIVector3 *_Nonnull resetTarget;
-
Defines the reset position.
Note
This is theSCIVector3
in 3D world coordinates where theISCIChartSurface3D.camera
ISCICameraController.position
is moved to.Declaration
Objective-C
@property (nonatomic, strong) SCIVector3 *_Nonnull resetPosition;
-
Definies when the
SCIZoomExtentsModifier3D
should be executed.Note
e.g.SCIExecuteOn.SCIExecuteOn_DoubleTap
will cause a zoom to extents on double tap on the parentSCIChartSurface3D
instance.Declaration
Objective-C
@property (nonatomic) SCIExecuteOn executeOn;
-
When YES, attempts to
auto-fit
the camera radius to fit the scene. When NO - uses theresetPosition
andresetTarget
instead.Declaration
Objective-C
@property (nonatomic) BOOL autoFitRadius;
-
Defines the animation duration in milliseconds for any zoom operations
Declaration
Objective-C
@property (nonatomic) NSTimeInterval animationDuration;