PinnedTransformGesture Methods |
The PinnedTransformGesture type exposes the following members.
Name | Description | |
---|---|---|
AddFriendlyGesture |
Adds a friendly gesture.
(Inherited from Gesture.) | |
Awake | (Overrides GestureAwake.) | |
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.) | |
doRotation |
Calculates rotation.
(Overrides OnePointTrasformGestureBasedoRotation(Vector3, Vector2, Vector2, ProjectionParams).) | |
doScaling |
Calculates scaling.
(Overrides OnePointTrasformGestureBasedoScaling(Vector3, Vector2, Vector2, ProjectionParams).) | |
getPointPreviousScreenPosition |
Returns previous screen position of a point with index 0.
(Inherited from OnePointTrasformGestureBase.) | |
getPointScreenPosition |
Returns screen position of a point with index 0.
(Inherited from OnePointTrasformGestureBase.) | |
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.) | |
onBegan |
Called when state is changed to Began.
(Inherited from TransformGestureBase.) | |
onCancelled |
Called when state is changed to Cancelled.
(Inherited from Gesture.) | |
onChanged |
Called when state is changed to Changed.
(Inherited from TransformGestureBase.) | |
OnDestroy |
Unity OnDestroy handler.
(Inherited from Gesture.) | |
OnDisable |
Unity OnDisable handler.
(Inherited from Gesture.) | |
OnEnable |
Unity Start handler.
(Overrides TransformGestureBaseOnEnable.) | |
onFailed |
Called when state is changed to Failed.
(Inherited from Gesture.) | |
onIdle |
Called when state is changed to Idle.
(Inherited from Gesture.) | |
onPossible |
Called when state is changed to Possible.
(Inherited from Gesture.) | |
onRecognized |
Called when state is changed to Recognized.
(Inherited from TransformGestureBase.) | |
OverrideTargetPosition |
Overrides the target position used in calculations this frame. If used, has to be set after every transform event. TransformGestureBase.
(Inherited from TransformGestureBase.) | |
pointersCancelled |
Called when pointers are cancelled.
(Inherited from Gesture.) | |
pointersPressed |
Called when new pointers appear.
(Overrides TransformGestureBasepointersPressed(IListPointer).) | |
pointersReleased |
Called if pointers are removed.
(Inherited from TransformGestureBase.) | |
pointersUpdated |
Called for moved pointers.
(Inherited from OnePointTrasformGestureBase.) | |
relevantPointers |
Checks if there are pointers in the list which matter for the gesture.
(Inherited from OnePointTrasformGestureBase.) | |
reset |
Called to reset gesture state after it fails or recognizes.
(Inherited from OnePointTrasformGestureBase.) | |
resetValues | (Inherited from TransformGestureBase.) | |
setState |
Tries to change gesture state.
(Inherited from Gesture.) | |
ShouldBegin |
Specifies if gesture can begin or recognize.
(Inherited from Gesture.) | |
shouldCachePointerPosition |
Should the gesture cache this pointers to use it later in calculation of ScreenPosition.
(Inherited from Gesture.) | |
ShouldReceivePointer |
Specifies if gesture can receive this specific pointer point.
(Inherited from Gesture.) | |
updateType | (Inherited from OnePointTrasformGestureBase.) |