TransformGesture Properties |
The TransformGesture type exposes the following members.
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.) |
![]() | DeltaPosition |
Gets delta position between this frame and the last frame in world coordinates.
This value is only available during Transformed or StateChanged events.
(Inherited from TransformGestureBase.) |
![]() | DeltaRotation |
Gets delta rotation between this frame and last frame in degrees.
This value is only available during Transformed or StateChanged events.
(Inherited from TransformGestureBase.) |
![]() | DeltaScale |
Contains local delta scale when gesture is recognized.
Value is between 0 and +infinity, where 1 is no scale, 0.5 is scaled in half, 2 scaled twice.
This value is only available during Transformed or StateChanged events.
(Inherited from TransformGestureBase.) |
![]() | gestureManager |
Reference to global GestureManager.
(Inherited from Gesture.) |
![]() | LocalDeltaPosition |
Gets delta position in local coordinates.
|
![]() | 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.) |
![]() | MinScreenPointsDistance |
Gets or sets minimum distance between 2 points in cm for gesture to begin.
(Inherited from TwoPointTransformGestureBase.) |
![]() | NormalizedScreenPosition |
Gets normalized screen position.
(Inherited from Gesture.) |
![]() | NumPointers |
Gets the number of active pointerss.
(Inherited from Gesture.) |
![]() | pointersNumState |
The state of min/max number of pointers.
(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.) |
![]() | Projection |
Gets or sets transform's projection type.
|
![]() | ProjectionPlaneNormal |
Gets or sets transform's projection plane normal.
|
![]() | RequireGestureToFail |
Gets or sets another gesture which must fail before this gesture can be recognized.
(Inherited from Gesture.) |
![]() | RotationAxis |
Gets rotation axis of the gesture in world coordinates.
(Inherited from TransformGestureBase.) |
![]() | ScreenPosition |
Gets current screen position.
(Inherited from Gesture.) |
![]() | ScreenTransformThreshold |
Gets or sets minimum distance in cm for pointers to move for gesture to begin.
(Inherited from TransformGestureBase.) |
![]() | 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.) |
![]() | touchManager |
Reference to global TouchManager.
(Inherited from Gesture.) |
![]() | TransformMask |
Contains transform operations which happened this frame.
(Inherited from TransformGestureBase.) |
![]() | TransformPlane |
Plane where transformation occured.
|
![]() | Type |
Gets or sets types of transformation this gesture supports.
(Inherited from TransformGestureBase.) |
![]() | 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.) |