TransformGestureBase Fields |
The TransformGestureBase type exposes the following members.
Name | Description | |
---|---|---|
activePointers |
Pointers the gesture currently owns and works with.
(Inherited from Gesture.) | |
basicEditor | (Inherited from Gesture.) | |
cachedPreviousScreenPosition |
Cached previous screen position.
Used to keep tap's position which can't be calculated from pointers when the gesture is recognized since all pointers are gone.
(Inherited from Gesture.) | |
cachedScreenPosition |
Cached screen position.
Used to keep tap's position which can't be calculated from pointers when the gesture is recognized since all pointers are gone.
(Inherited from Gesture.) | |
cachedTransform |
Cached transform of the parent object.
(Inherited from Gesture.) | |
deltaPosition |
Calculated delta position.
| |
deltaRotation |
Calculated delta rotation.
| |
deltaScale |
Calculated delta scale.
| |
isTransforming |
Indicates whether transformation started;
| |
OnStateChange |
Occurs when gesture changes state.
(Inherited from Gesture.) | |
OnTransform |
Unity event, occurs when the gesture is updated.
| |
OnTransformComplete |
Unity event, occurs when the gesture ends.
| |
OnTransformStart |
Unity event, occurs when the gesture starts.
| |
rotationAxis |
Rotation axis to use with deltaRotation.
| |
screenTransformPixelThreshold | ScreenTransformThreshold in pixels.
| |
screenTransformPixelThresholdSquared | ScreenTransformThreshold in pixels squared.
| |
targetPosition |
Target overridden position. OverrideTargetPosition(Vector3).
| |
targetPositionOverridden |
Indicates if current position is being overridden for the next frame. OverrideTargetPosition(Vector3).
| |
TRANSFORM_COMPLETE_MESSAGE |
Message name when gesture ends
| |
TRANSFORM_MESSAGE |
Message name when gesture updates
| |
TRANSFORM_START_MESSAGE |
Message name when gesture starts
| |
transformMask | ||
type |