iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIBaseSceneEntity

@interface SCIBaseSceneEntity : SCIDisposableBase <ISCIBaseSceneEntity>

Defines an Entity in the 3D Scene. All types inheriting from SCIBaseSceneEntity have the abilty to be postioned and rendered using geometry and primitives defined in the 3D engine.

  • Defines a value indicating whether this entity is visible or not.

    Declaration

    Objective-C

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

    Swift

    var isVisible: Bool { get set }
  • Defines the unique identifier of this entity.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) unsigned int entityId;

    Swift

    var entityId: UInt32 { get set }
  • Begins an Immediate Lines Mesh, which can be used to draw dynamic continuous (Poly) 3D lines on the fly.

    Declaration

    Objective-C

    - (id<ISCILinesMesh>)beginLines:(float)strokeThickness
                       isLineStrips:(BOOL)isLineStrips
                      isAntialiased:(BOOL)isAntialiased;

    Swift

    func beginLines(_ strokeThickness: Float, isLineStrips: Bool, isAntialiased: Bool) -> ISCILinesMesh!

    Parameters

    strokeThickness

    The strokeThickness which defines the stroke thickness in world coordinates for the line.

    isLineStrips

    If set to YES - lines are drawn as discontinuous strips.

    isAntialiased

    When true, lines are antialised.

    Return Value

    The ISCILinesMesh instancec which can be used for creating dynamic 3D lines on the fly.

  • Renders this entity with the current scene and render pass data.

    Declaration

    Objective-C

    - (void)render;

    Swift

    func render()