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.
See
SCIBaseSceneEntity.
-
Defines the parent
ISCIBaseSceneEntityfor this instance.Declaration
Objective-C
@property (nonatomic, strong, nullable) id<ISCIBaseSceneEntity> parent;Swift
var parent: (any 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<any ISCIBaseSceneEntity> { get } -
Attaches a
ISCIBaseSceneEntityto thechildrencollection.Declaration
Objective-C
- (void)addEntity:(nonnull id<ISCIBaseSceneEntity>)child;Swift
func add(_ child: any ISCIBaseSceneEntity) -
Detaches a
ISCIBaseSceneEntityand removes it from thechildrencollection.Declaration
Objective-C
- (void)removeEntity:(nonnull id<ISCIBaseSceneEntity>)child;Swift
func remove(_ child: any ISCIBaseSceneEntity) -
Updates this entity with the current scene time.
Declaration
Objective-C
- (void)update;Swift
func update()
View on GitHub