Experimental: this API is experimental and might be changed or removed in the future.

RectangleSelector

class in UnityEditor.Experimental.GraphView

/

Inherits from:UIElements.MouseManipulator

/

Implemented in:UnityEditor

Description

Rectangle selection box manipulator.

Constructors

RectangleSelectorRectangleSelector's constructor.

Public Methods

ComputeAxisAlignedBoundComputer the axis-aligned bound rectangle.

Protected Methods

RegisterCallbacksOnTargetCalled to register click event callbacks on the target element.
UnregisterCallbacksFromTargetCalled to unregister event callbacks from the target element.

Inherited Members

Properties

targetVisualElement being manipulated.
activatorsList of Activationfilters.

Protected Methods

CanStartManipulationChecks if MouseEvent matches agains all the MouseActivationFilters requirements.
CanStopManipulationChecks if MouseEvent is related to this Manipulator.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答