SKTouchAction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies constants that define which touch/mouse action took place.
public enum SKTouchAction
- Inheritance
-
SKTouchAction
Fields
Cancelled | 4 | The touch/mouse operation was cancelled. |
Entered | 0 | The touch/mouse entered the view. |
Exited | 5 | The touch/mouse exited the view. |
Moved | 2 | The touch (while down) or mouse (pressed or released) moved in the view. |
Pressed | 1 | A finger or pen was touched on the screen, or a mouse button was pressed. |
Released | 3 | A finger or pen was lifted off the screen, or a mouse button was released. |
WheelChanged | 6 | The mouse wheel was scrolled. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈