Click or drag to resize

RotationGesture Class

手指反向操作的手势。
Inheritance Hierarchy
SystemObject
  FairyGUIEventDispatcher
    FairyGUIRotationGesture

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class RotationGesture : EventDispatcher

The RotationGesture type exposes the following members.

Constructors
  NameDescription
Public methodRotationGesture
Initializes a new instance of the RotationGesture class
Top
Properties
  NameDescription
Public propertyhost
Public propertyonAction
当手势动作时派发该事件。
Public propertyonBegin
当两个手指开始呈反向操作时派发该事件。
Public propertyonEnd
当其中一个手指离开屏幕时派发该事件。
Top
Methods
Fields
  NameDescription
Public fielddelta
从上次通知后的改变量。
Public fieldrotation
总共旋转的角度。
Public fieldsnapping
是否把变化量强制为整数。默认true。
Top
See Also