Readonly scaleSubscribe to onDispose event.
This event is triggered whenever the object is disposed.
A component can only be disposed by the end user, by calling the dispose method on the component or the component which owns it.
// Example usage
Dashboard.onDispose(() => {
console.log('Dashboard was disposed')
})
Dashboard.dispose()
Token of subscription
Handler function for event
Set auto-fit strategy of Cursor. Affects logic of automatic fitting of Cursors ResultTable to the screen.
Object itself for fluent interface
Optional autoFitStrategy: AutoFitStrategyFactory<ResultTableBackgroundType>AutoFitStrategy factory or undefined to disable auto-fitting
Mutator function for Cursors PointMarker. PointMarker is a visual that is displayed at the Cursors position
Object itself for fluent interface
Mutator function for PointMarker
Set position of the Cursor.
Object itself.
CursorPosition3D
Mutator function for Cursors ResultTable. ResultTable is a visual that displays currently pointed data next to its location
Object itself for fluent interface
Mutator function for ResultTable
Modify cursor ticks along X axis. This covers elements like:
// Example syntax
cursor.setTickX((tick) => tick
.setBackgroundFillStyle(new SolidFill({ color: ColorRGBA(255, 0,0 ) }))
)
For available APIs refer to CustomTick3D.
Object itself.
Callback function that modifies the tick object(s).
Modify cursor ticks along Y axis. This covers elements like:
// Example syntax
cursor.setTickY((tick) => tick
.setBackgroundFillStyle(new SolidFill({ color: ColorRGBA(255, 0,0 ) }))
)
For available APIs refer to CustomTick3D.
Object itself.
Callback function that modifies the tick object(s).
Modify cursor ticks along Z axis. This covers elements like:
// Example syntax
cursor.setTickZ((tick) => tick
.setBackgroundFillStyle(new SolidFill({ color: ColorRGBA(255, 0,0 ) }))
)
For available APIs refer to CustomTick3D.
Object itself.
Callback function that modifies the tick object(s).
Modify cursor ticks along every axis. This covers elements like:
// Example syntax
cursor.setTicks((tick) => tick
.setBackgroundFillStyle(new SolidFill({ color: ColorRGBA(255, 0,0 ) }))
)
For available APIs refer to CustomTick3D.
Object itself.
Callback function that modifies the tick object(s).
Permanently destroy the component.
To fully allow Garbage-Collection to free the resources used by the component, make sure to remove any references to the component and its children in application code.
Returns
Object itself for fluent interface