Class CanvasSnapshotPlugin

Base Class for Sync Viewer Plugins

Hierarchy (View Summary)

Constructors

Properties

_dirty: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<
    | "dispose"
    | "*"
    | "update"
    | "preRender"
    | "postRender"
    | "preFrame"
    | "postFrame"
    | "addPlugin"
    | "removePlugin"
    | "renderEnabled"
    | "renderDisabled",
    (e: IViewerEvent) => void,
> = {}
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
defaultOptions: CanvasSnapshotOptions & { waitForProgressive?: boolean } = ...

Only for downloadSnapshot and functions using that

enabled: boolean = true
filename: string = 'snapshot.png'
uiConfig?: UiObjectConfig = undefined
OldPluginType?: string
PluginType: "CanvasSnapshotPlugin" = 'CanvasSnapshotPlugin'

Accessors

Methods