Click or drag to resize

ClusteredScreenTransformGesture Methods

The ClusteredScreenTransformGesture type exposes the following members.

Methods
  NameDescription
Public methodAddFriendlyGesture
Adds a friendly gesture.
(Inherited from Gesture.)
Protected methodAwake (Inherited from Gesture.)
Public methodCanBePreventedByGesture
Determines whether this instance can be prevented by specified gesture.
(Inherited from Gesture.)
Public methodCancel
Cancels this gesture.
(Inherited from Gesture.)
Public methodCancel(Boolean, Boolean)
Cancels this gesture.
(Inherited from Gesture.)
Public methodCanPreventGesture
Determines whether this instance can prevent the specified gesture.
(Inherited from Gesture.)
Protected methoddoOnePointTranslation
Calculates single finger translation.
(Inherited from ScreenTransformGesture.)
Protected methoddoRotation
Calculates rotation.
(Inherited from ScreenTransformGesture.)
Protected methoddoScaling
Calculates scaling.
(Inherited from ScreenTransformGesture.)
Protected methoddoTwoPointTranslation
Calculated two finger translation with respect to rotation and scaling.
(Inherited from ScreenTransformGesture.)
Protected methodgetNumPoints
Gets the number of points.
(Overrides TwoPointTransformGestureBasegetNumPoints.)
Protected methodgetPointPreviousScreenPosition
Returns previous screen position of a point with index 0 or 1
(Overrides TwoPointTransformGestureBasegetPointPreviousScreenPosition(Int32).)
Protected methodgetPointScreenPosition
Returns screen position of a point with index 0 or 1
(Overrides TwoPointTransformGestureBasegetPointScreenPosition(Int32).)
Public methodGetScreenPositionHitData
Returns HitData for gesture's ScreenPosition, i.e. what is right beneath it.
(Inherited from Gesture.)
Public methodHasPointer
Determines whether gesture controls a pointer.
(Inherited from Gesture.)
Public methodIsFriendly
Checks if a gesture is friendly with this gesture.
(Inherited from Gesture.)
Protected methodonBegan
Called when state is changed to Began.
(Inherited from TransformGestureBase.)
Protected methodonCancelled
Called when state is changed to Cancelled.
(Inherited from Gesture.)
Protected methodonChanged
Called when state is changed to Changed.
(Inherited from TransformGestureBase.)
Protected methodOnDestroy
Unity OnDestroy handler.
(Inherited from Gesture.)
Protected methodOnDisable
Unity OnDisable handler.
(Inherited from Gesture.)
Protected methodOnEnable
Unity Start handler.
(Inherited from TwoPointTransformGestureBase.)
Protected methodonFailed
Called when state is changed to Failed.
(Inherited from Gesture.)
Protected methodonIdle
Called when state is changed to Idle.
(Inherited from Gesture.)
Protected methodonPossible
Called when state is changed to Possible.
(Inherited from Gesture.)
Protected methodonRecognized
Called when state is changed to Recognized.
(Inherited from TransformGestureBase.)
Public methodOverrideTargetPosition
Overrides the target position used in calculations this frame. If used, has to be set after every transform event. TransformGestureBase.
(Inherited from TransformGestureBase.)
Protected methodpointersCancelled
Called when pointers are cancelled.
(Inherited from Gesture.)
Protected methodpointersPressed
Called when new pointers appear.
(Overrides TransformGestureBasepointersPressed(IListPointer).)
Protected methodpointersReleased
Called if pointers are removed.
(Overrides TransformGestureBasepointersReleased(IListPointer).)
Protected methodpointersUpdated
Called for moved pointers.
(Overrides TwoPointTransformGestureBasepointersUpdated(IListPointer).)
Protected methodrelevantPointers1
Checks if there are pointers in the list which matter for the gesture.
(Overrides TwoPointTransformGestureBaserelevantPointers1(IListPointer).)
Protected methodrelevantPointers2
Checks if there are pointers in the list which matter for the gesture.
(Overrides TwoPointTransformGestureBaserelevantPointers2(IListPointer).)
Protected methodreset
Called to reset gesture state after it fails or recognizes.
(Overrides TwoPointTransformGestureBasereset.)
Protected methodresetValues (Inherited from TransformGestureBase.)
Protected methodsetState
Tries to change gesture state.
(Inherited from Gesture.)
Public methodShouldBegin
Specifies if gesture can begin or recognize.
(Inherited from Gesture.)
Protected methodshouldCachePointerPosition
Should the gesture cache this pointers to use it later in calculation of ScreenPosition.
(Inherited from Gesture.)
Public methodShouldReceivePointer
Specifies if gesture can receive this specific pointer point.
(Inherited from Gesture.)
Protected methodupdateType (Inherited from TransformGestureBase.)
Top
See Also