iOS Charting Documentation - SciChart iOS Charts SDK v3.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 (readonly, nonatomic) CGSize viewportSize;

    Swift

    var viewportSize: CGSize { get }
  • Gets the dimmensions of the 3D world.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nonnull) SCIVector3 *worldDimensions;

    Swift

    var worldDimensions: SCIVector3 { get set }
  • Defines the root scene entity, adds it to the 3D world.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable) SCIChart3DRootSceneEntity *rootEntity;

    Swift

    weak var rootEntity: SCIChart3DRootSceneEntity? { get set }
  • Gets the ISCIEntityIdProvider used by Viewport3D.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull) id<ISCIEntityIdProvider> idProvider;

    Swift

    var idProvider: ISCIEntityIdProvider { get }
  • Gets or sets if the current coordinate system is left handed.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL isLeftHandedCoordinateSystem;

    Swift

    var isLeftHandedCoordinateSystem: Bool { get set }
  • Gets or sets if the fps counter entity is visible.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL isFPSCounterVisible;

    Swift

    var isFPSCounterVisible: Bool { get set }
  • Gets or sets if the xyz gizmo entity is visible.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL isXyzGizmoVisible;

    Swift

    var isXyzGizmoVisible: Bool { get set }
  • Forces a redraw to occur in the Viewport3D.

    Declaration

    Objective-C

    - (void)drawFrame:(nonnull SCIRenderPassState3D *)renderPassState;

    Swift

    func drawFrame(_ renderPassState: SCIRenderPassState3D)