Class PickingPlugin

Base Class for Sync Viewer Plugins

Hierarchy (View Summary)

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

Constructors

Properties

_dirty: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<
    | "dispose"
    | "*"
    | "update"
    | "preRender"
    | "postRender"
    | "preFrame"
    | "postFrame"
    | "addPlugin"
    | "removePlugin"
    | "renderEnabled"
    | "renderDisabled",
    (e: IViewerEvent) => void,
> = {}
autoFocus: boolean
autoFocusHover: boolean = false
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
uiConfig: UiObjectConfig = ...
widgetEnabled: boolean = true

Note: this is for runtime use only, not serialized

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

Accessors

Methods