ThreePipe
    Preparing search index...

    Class DropzonePlugin

    Dropzone Plugin

    Adds a dropzone to the viewer for importing assets.

    Automatically imports and adds assets to the scene, the behavior can be configured.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _dirty: boolean = false
    _viewer?: ThreeViewer
    _viewerListeners: PartialRecord<IViewerEventTypes, (e: IViewerEvent) => void> = {}
    addOptions: AddAssetOptions = ...

    Add options for the RootScene.addObject

    autoAdd: boolean = true

    Automatically add dropped and imported assets to the scene. Works only if autoImport is true.

    autoImport: boolean = true

    Automatically import assets when dropped.

    constructor: typeof AViewerPluginSync & typeof AViewerPlugin
    enabled: boolean = true
    importOptions: ImportFilesOptions = ...

    Import options for the AssetImporter.importFiles

    uiConfig: UiObjectConfig
    OldPluginType?: string
    PluginType: "Dropzone" = 'Dropzone'

    Accessors

    Methods