Class ResourceDragDropInteractionHandlerAbstract Public Self

The ResourceDragDropInteractionHandler class implements a handler for a resource drag and drop operation initiated by the ResourceDragDropViewportInteraction.

Constructors

Properties

Methods

  • Determines if the drag is supported for the specified resourceMeta.

    Parameters

    Returns boolean

  • Aborts the active drag operation. If a user cancel occurs, this method will be invoked before onEndDrag.

    Returns any

  • Finishes the current drag operation and applies the drag. This method will be invoked before onEndDrag.

    Parameters

    Returns any

  • Ends the active drag operation. Before this method is called either onCancelDrag or onDrop is invoked.

    Returns any

  • Virtual

    Returns scene objects that must be excluded when updating the picking cache. Called after onDragStart, but before onUpdateDrag.

    Returns SceneObject[]

  • Starts the drag for the specified `resourceMeta``

    Parameters

    Returns boolean

  • Updates the drag for the specified position.

    Parameters

    Returns any