
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCICameraAnimator
@protocol ISCICameraAnimator <ISCIAttachable>
Defines the interface with methods for animating position of ISCICameraController
.
-
Animates camera to specified
position
andtarget
position with specified duration.Declaration
Objective-C
- (void)animatePosition:(nonnull SCIVector3 *)position andTarget:(nonnull SCIVector3 *)target withDuration:(NSTimeInterval)duration;
Parameters
position
The final position of camera.
target
The final target of camera.
duration
The animation duration.
-
Cancels running animation.
Declaration
Objective-C
- (void)cancelAnimation;
-
Gets the value indicating whether the animation is running.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isAnimating;