Version: Unity 6 (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

EdgeManipulator

class in UnityEditor.Experimental.GraphView

/

Inherits from:UIElements.MouseManipulator

Description

Edge manipulator used to drag edges off ports and reconnect them elsewhere.

Constructors

Description
EdgeManipulatorEdgeManipulator's constructor.

Protected Methods

Description
OnKeyDownHandle key down event.
OnMouseDownHandle mouse down event.
OnMouseMoveHandle mouse move event.
OnMouseUpHandle mouse up event.
RegisterCallbacksOnTargetCalled to register click event callbacks on the target element.
UnregisterCallbacksFromTargetCalled to unregister event callbacks from the target element.

Inherited Members

Properties

Description
target VisualElement being manipulated.
activators List of Activationfilters.

Protected Methods

Description
CanStartManipulation Checks whether MouseEvent satisfies all of the ManipulatorActivationFilter requirements.
CanStopManipulation Checks whether the MouseEvent is related to this Manipulator.