MetaGesture Class |
Namespace: TouchScript.Gestures
public sealed class MetaGesture : Gesture
The MetaGesture type exposes the following members.
Name | Description | |
---|---|---|
MetaGesture | Initializes a new instance of the MetaGesture class |
Name | Description | |
---|---|---|
ActivePointers |
Gets list of gesture's active pointers.
(Inherited from Gesture.) | |
DebugMode |
Gets or sets if this object should show its debug information.
(Inherited from DebuggableMonoBehaviour.) | |
Delegate |
Gets or sets an object implementing IGestureDelegate to be asked for gesture specific actions.
(Inherited from Gesture.) | |
MaxPointers |
Gets or sets maximum number of pointers this gesture reacts to.
The gesture will not be recognized if it has more than MaxPointers pointers.
(Inherited from Gesture.) | |
MinPointers |
Gets or sets minimum number of pointers this gesture reacts to.
The gesture will not be recognized if it has less than MinPointers pointers.
(Inherited from Gesture.) | |
NormalizedScreenPosition |
Gets normalized screen position.
(Inherited from Gesture.) | |
NumPointers |
Gets the number of active pointerss.
(Inherited from Gesture.) | |
PreviousNormalizedScreenPosition |
Gets previous screen position.
(Inherited from Gesture.) | |
PreviousScreenPosition |
Gets previous screen position.
(Inherited from Gesture.) | |
PreviousState |
Gets previous gesture state.
(Inherited from Gesture.) | |
RequireGestureToFail |
Gets or sets another gesture which must fail before this gesture can be recognized.
(Inherited from Gesture.) | |
ScreenPosition |
Gets current screen position.
(Inherited from Gesture.) | |
SendMessageTarget |
Gets or sets the target of Unity messages sent from this gesture.
(Inherited from Gesture.) | |
SendStateChangeEvents |
Gets or sets a value indicating whether state change events are broadcasted if UseUnityEvents is true.
(Inherited from Gesture.) | |
SendStateChangeMessages |
Gets or sets a value indicating whether state change events are broadcasted if UseSendMessage is true.
(Inherited from Gesture.) | |
State |
Gets current gesture state.
(Inherited from Gesture.) | |
UseSendMessage |
Gets or sets whether gesture should use Unity's SendMessage in addition to C# events.
(Inherited from Gesture.) | |
UseUnityEvents |
Gets or sets whether gesture should use Unity Events in addition to C# events.
(Inherited from Gesture.) |
Name | Description | |
---|---|---|
AddFriendlyGesture |
Adds a friendly gesture.
(Inherited from Gesture.) | |
CanBePreventedByGesture |
Determines whether this instance can be prevented by specified gesture.
(Inherited from Gesture.) | |
Cancel |
Cancels this gesture.
(Inherited from Gesture.) | |
Cancel(Boolean, Boolean) |
Cancels this gesture.
(Inherited from Gesture.) | |
CanPreventGesture |
Determines whether this instance can prevent the specified gesture.
(Inherited from Gesture.) | |
GetScreenPositionHitData |
Returns HitData for gesture's ScreenPosition, i.e. what is right beneath it.
(Inherited from Gesture.) | |
HasPointer |
Determines whether gesture controls a pointer.
(Inherited from Gesture.) | |
IsFriendly |
Checks if a gesture is friendly with this gesture.
(Inherited from Gesture.) | |
ShouldBegin |
Specifies if gesture can begin or recognize.
(Inherited from Gesture.) | |
ShouldReceivePointer |
Specifies if gesture can receive this specific pointer point.
(Inherited from Gesture.) |
Name | Description | |
---|---|---|
Cancelled |
Occurs when gesture is cancelled.
(Inherited from Gesture.) | |
PointerCancelled |
Occurs when a pointer is cancelled.
| |
PointerPressed |
Occurs when a pointer is added.
| |
PointerReleased |
Occurs when a pointer is removed.
| |
PointerUpdated |
Occurs when a pointer is updated.
| |
StateChanged |
Occurs when gesture changes state.
(Inherited from Gesture.) |
Name | Description | |
---|---|---|
OnStateChange |
Occurs when gesture changes state.
(Inherited from Gesture.) | |
POINTER_CANCELLED_MESSAGE |
Message dispatched when a pointer is cancelled.
| |
POINTER_MOVED_MESSAGE |
Message dispatched when a pointer moves.
| |
POINTER_PRESSED_MESSAGE |
Message dispatched when a pointer begins.
| |
POINTER_RELEASED_MESSAGE |
Message dispatched when a pointer ends.
|