Class PickingPlugin

Base Class for Sync Viewer Plugins

Hierarchy (view full)

  • AViewerPluginSync<"selectedObjectChanged" | "hoverObjectChanged" | "hitObject">
    • PickingPlugin

Constructors

Properties

_dirty: boolean = false
_hoverWidget?: SelectionWidget
_pickUi: boolean
_picker?: ObjectPicker
_uiConfigChildren: UiObjectConfig<any, string, any>[] = ...
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<"update" | "dispose" | "preRender" | "postRender" | "preFrame" | "postFrame" | "*" | "addPlugin" | "removePlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

_widget?: SelectionWidget
autoFocus: boolean
autoFocusHover: boolean = false
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
uiConfig: UiObjectConfig<any, string, any> = ...
widgetEnabled: boolean = true

Note: this is for runtime use only, not serialized

OldPluginType: "PickingPlugin" = 'PickingPlugin'
PluginType: "Picking" = 'Picking'

Accessors

Methods

Generated using TypeDoc