Click or drag to resize

TransformGesture Properties

The TransformGesture type exposes the following members.

Properties
  NameDescription
Public propertyActivePointers
Gets list of gesture's active pointers.
(Inherited from Gesture.)
Public propertyDebugMode
Gets or sets if this object should show its debug information.
(Inherited from DebuggableMonoBehaviour.)
Public propertyDelegate
Gets or sets an object implementing IGestureDelegate to be asked for gesture specific actions.
(Inherited from Gesture.)
Public propertyDeltaPosition
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.)
Public propertyDeltaRotation
Gets delta rotation between this frame and last frame in degrees. This value is only available during Transformed or StateChanged events.
(Inherited from TransformGestureBase.)
Public propertyDeltaScale
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.)
Protected propertygestureManager
Reference to global GestureManager.
(Inherited from Gesture.)
Public propertyLocalDeltaPosition
Gets delta position in local coordinates.
Public propertyMaxPointers
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.)
Public propertyMinPointers
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.)
Public propertyMinScreenPointsDistance
Gets or sets minimum distance between 2 points in cm for gesture to begin.
(Inherited from TwoPointTransformGestureBase.)
Public propertyNormalizedScreenPosition
Gets normalized screen position.
(Inherited from Gesture.)
Public propertyNumPointers
Gets the number of active pointerss.
(Inherited from Gesture.)
Protected propertypointersNumState
The state of min/max number of pointers.
(Inherited from Gesture.)
Public propertyPreviousNormalizedScreenPosition
Gets previous screen position.
(Inherited from Gesture.)
Public propertyPreviousScreenPosition
Gets previous screen position.
(Inherited from Gesture.)
Public propertyPreviousState
Gets previous gesture state.
(Inherited from Gesture.)
Public propertyProjection
Gets or sets transform's projection type.
Public propertyProjectionPlaneNormal
Gets or sets transform's projection plane normal.
Public propertyRequireGestureToFail
Gets or sets another gesture which must fail before this gesture can be recognized.
(Inherited from Gesture.)
Public propertyRotationAxis
Gets rotation axis of the gesture in world coordinates.
(Inherited from TransformGestureBase.)
Public propertyScreenPosition
Gets current screen position.
(Inherited from Gesture.)
Public propertyScreenTransformThreshold
Gets or sets minimum distance in cm for pointers to move for gesture to begin.
(Inherited from TransformGestureBase.)
Public propertySendMessageTarget
Gets or sets the target of Unity messages sent from this gesture.
(Inherited from Gesture.)
Public propertySendStateChangeEvents
Gets or sets a value indicating whether state change events are broadcasted if UseUnityEvents is true.
(Inherited from Gesture.)
Public propertySendStateChangeMessages
Gets or sets a value indicating whether state change events are broadcasted if UseSendMessage is true.
(Inherited from Gesture.)
Public propertyState
Gets current gesture state.
(Inherited from Gesture.)
Protected propertytouchManager
Reference to global TouchManager.
(Inherited from Gesture.)
Public propertyTransformMask
Contains transform operations which happened this frame.
(Inherited from TransformGestureBase.)
Public propertyTransformPlane
Plane where transformation occured.
Public propertyType
Gets or sets types of transformation this gesture supports.
(Inherited from TransformGestureBase.)
Public propertyUseSendMessage
Gets or sets whether gesture should use Unity's SendMessage in addition to C# events.
(Inherited from Gesture.)
Public propertyUseUnityEvents
Gets or sets whether gesture should use Unity Events in addition to C# events.
(Inherited from Gesture.)
Top
See Also