操控器,用于在点击元素时跟踪元素的鼠标事件和回调。
| active | This property tracks the activation of the manipulator. Set it to true when the manipulator is activated. |
| lastMousePosition | Specifies the mouse position saved during the last mouse event on the target Element. |
| Clickable | 构造函数。 |
| Invoke | Invokes a click action. |
| OnMouseDown | This method is called when a MouseDownEvent is sent to the target element. |
| OnMouseMove | This method is called when a MouseMoveEvent is sent to the target element. |
| OnMouseUp | This method is called when a MouseUpEvent is sent to the target element. |
| ProcessDownEvent | This method processes the down event sent to the target Element. |
| ProcessMoveEvent | This method processes the move event sent to the target Element. |
| ProcessUpEvent | This method processes the up event sent to the target Element. |
| RegisterCallbacksOnTarget | 调用以在目标元素上注册鼠标事件回调。 |
| UnregisterCallbacksFromTarget | 调用以从目标元素取消注册单击事件回调。 |
| clicked | 单击目标元素时触发的回调。 |
| clickedWithEventInfo | 单击目标元素时触发的回调。 |
| target | 被操作的 VisualElement。 |
| activators | Activationfilters 列表。 |
| CanStartManipulation | Checks whether MouseEvent satisfies all of the ManipulatorActivationFilter requirements. |
| CanStopManipulation | Checks whether the MouseEvent is related to this Manipulator. |
| CanStartManipulation | Checks whether PointerEvent satisfies all of the ManipulatorActivationFilter requirements. |
| CanStopManipulation | Checks whether the PointerEvent is related to this Manipulator. |