Hierarchy

Implements

  • IViewerPluginSync

Constructors

  • Parameters

    • expanded: boolean = false
    • bigTheme: boolean = true
    • container: HTMLElement = document.body
    • Optional colorMode: "black" | "white" | "blue"

    Returns TweakpaneUiPlugin

Properties

_plugins: IViewerPlugin<ThreeViewer, boolean>[] = []
_viewer?: ThreeViewer
colorMode: "black" | "white" | "blue"
constructor: typeof TweakpaneUiPlugin
enabled: boolean = true
PluginType: "TweakpaneUi" = 'TweakpaneUi'

Methods

  • Parameters

    • ui: any
    • p: IViewerPlugin<ThreeViewer, boolean>

    Returns void

  • Parameters

    • Optional message: string

    Returns Promise<void>

  • Parameters

    • Optional message: string

    Returns Promise<boolean>

  • Parameters

    • viewer: ThreeViewer

    Returns void

  • Parameters

    • viewer: ThreeViewer

    Returns void

  • Parameters

    • Optional message: string
    • Optional _default: string
    • cancel: boolean = true

    Returns Promise<null | string>

  • Parameters

    • Rest ...plugins: Class<IViewerPlugin<ThreeViewer, boolean>>[]

    Returns void

Generated using TypeDoc