
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIViewport3D
@protocol ISCIViewport3D <ISCIDisposable>
Defines the protocol to a 3D Viewport, which wraps a C++ Engine and allows presentation of the 3D Scene
-
Gets the current viewport size.
Declaration
Objective-C
@property (nonatomic, readonly) CGSize viewportSize;
-
Gets the dimmensions of the 3D world.
Declaration
Objective-C
@property (nonatomic, readonly) SCIVector3 *_Nonnull worldDimensions;
-
Defines the root scene entity, adds it to the 3D world.
Declaration
Objective-C
@property (nonatomic, weak, nullable) SCIChart3DRootSceneEntity *rootEntity;
-
Gets the
ISCIEntityIdProvider
used by Viewport3D.Declaration
Objective-C
@property (nonatomic, readonly) id<ISCIEntityIdProvider> _Nonnull idProvider;
-
Gets or sets if the current coordinate system is left handed.
Declaration
Objective-C
@property (nonatomic) BOOL isLeftHandedCoordinateSystem;
-
Gets or sets if the fps counter entity is visible.
Declaration
Objective-C
@property (nonatomic) BOOL isFPSCounterVisible;
-
Gets or sets if the xyz gizmo entity is visible.
Declaration
Objective-C
@property (nonatomic) BOOL isXyzGizmoVisible;
-
Forces a redraw to occur in the Viewport3D.
Declaration
Objective-C
- (void)drawFrame:(nonnull SCIRenderPassState3D *)renderPassState;
-
Adds the
SCIWorldDimensionsChangeObserver
instance which observesworldDimensions
.Declaration
Objective-C
- (void)addWorldDimentionsObserver: (nonnull SCIWorldDimensionsChangeObserver)observer;
Parameters
observer
The observer to add.
-
Removes the
SCIWorldDimensionsChangeObserver
instance which observesworldDimensions
.Declaration
Objective-C
- (void)removeWorldDimentionsObserver: (nonnull SCIWorldDimensionsChangeObserver)observer;
Parameters
observer
The observer to remove.