Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines the interface to a RenderableSeriesSceneEntity - a special BaseSceneEntity3D type which hosts the scene entities for a RenderableSeries, or 3D Chart type in SciChart.

Hierarchy

Implemented by

Index

Properties

Readonly children

summary

Gets the collection of IBaseSceneEntity - child entities or 3D Objects which belong to this entity.

description

A SciChart3DSurface has a SciChart3DSurface.rootEntity property. You can add BaseSceneEntity3D to this property, and each entity can have a collection of child entities.

Use grouping to control visibility of many entities at once, or to create more complex scenes.

remarks

Adding a BaseSceneEntity3D to the children collection will cause the 3D Scene to be redrawn.

entityId

entityId: number

Gets or sets a unique Id for the IBaseSceneEntity. The SciChart3D engine requires Ids fit into UInt32 (4 billion)

entityIdProvider

entityIdProvider: IEntityIdProvider

Gets or sets the IEntityIdProvider which generates unique mesh Ids for {@link IBaseSceneEntity

Readonly id

id: string

A unique Id for the IBaseSceneEntity

isVisible

isVisible: boolean

When true, the entity and it's children are visible in the 3D Scene

nativeEntity

nativeEntity: SCRTSceneEntity

Gets the native SCRTSceneEntity - a WebAssembly 3D Scene Entity type which is passed to our WebGL WebAssembly 3D Engine

parent

Gets the parent IBaseSceneEntity

Readonly type

Gets the type of Scene Entity. See ESceneEntityType for a list of values

Methods

delete

  • delete(): void
  • Deletes native (WebAssembly) memory used by this type, after which it cannot be used.

    remarks

    Call .delete() before finishing with the object to ensure that WebAssmembly memory leaks do not occur.

    All elements within SciChart's High Performance Realtime JavaScript Charts which implement IDeletable must be deleted manually to free native (WebAssembly) memory

    Returns void

getEntity

getRoot

hitTest

  • Performs a HitTest operation on the entity, returning the HitTestInfo3D containing the result. This contains information about the hit-test operation such as the index of the data-point under the mouse, and may be used for tooltips, selection or inspection of the 3d scene through mouse-clicks

    Parameters

    • screenPoint: Point

      The screen point (X,Y pixel coordinate in 2D space)

    Returns HitTestInfo3D

notifySeriesPropertyChanged

  • notifySeriesPropertyChanged(propertyName: string): void
  • Notifies a property has changed, causing the 3D Scene to redraw

    Parameters

    • propertyName: string

      the property name

    Returns void

onAttached

  • onAttached(): void

onDetached

  • onDetached(): void

Protected onDpiChanged

  • Called when the Dpi changes in the browser. This could be due to user zooming the browser, or changing DPI settings in Windows, or moving the browser containing SciChart to another monitor

    Parameters

    Returns void

onEngineRestart

  • onEngineRestart(): void
  • Called when the WebGL 3D Engine restarts. Use this to perform clean-up operations

    Returns void

setRenderPassData

visitEntities

Generated using TypeDoc