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

ISCIBaseSceneEntity

@protocol ISCIBaseSceneEntity <ISCIDisposable>

Defines the protocol to an Entity in the 3D Scene.

  • Defines the parent ISCIBaseSceneEntity for this instance.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) id<ISCIBaseSceneEntity> parent;

    Swift

    var parent: ISCIBaseSceneEntity? { get set }
  • Gets the collection of children for this entity.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SCIObservableCollection<id<ISCIBaseSceneEntity>> *_Nonnull children;

    Swift

    var children: SCIObservableCollection<ISCIBaseSceneEntity> { get }
  • Attaches a ISCIBaseSceneEntity to the children collection.

    Declaration

    Objective-C

    - (void)addEntity:(nonnull id<ISCIBaseSceneEntity>)child;

    Swift

    func add(_ child: ISCIBaseSceneEntity)
  • Detaches a ISCIBaseSceneEntity and removes it from the children collection.

    Declaration

    Objective-C

    - (void)removeEntity:(nonnull id<ISCIBaseSceneEntity>)child;

    Swift

    func remove(_ child: ISCIBaseSceneEntity)
  • Updates this entity with the current scene time.

    Declaration

    Objective-C

    - (void)update;

    Swift

    func update()