Click or drag to resize

TransformGestureBase Fields

The TransformGestureBase type exposes the following members.

Fields
  NameDescription
Protected fieldactivePointers
Pointers the gesture currently owns and works with.
(Inherited from Gesture.)
Protected fieldbasicEditor (Inherited from Gesture.)
Protected fieldcachedPreviousScreenPosition
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.)
Protected fieldcachedScreenPosition
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.)
Protected fieldcachedTransform
Cached transform of the parent object.
(Inherited from Gesture.)
Protected fielddeltaPosition
Calculated delta position.
Protected fielddeltaRotation
Calculated delta rotation.
Protected fielddeltaScale
Calculated delta scale.
Protected fieldisTransforming
Indicates whether transformation started;
Public fieldOnStateChange
Occurs when gesture changes state.
(Inherited from Gesture.)
Public fieldOnTransform
Unity event, occurs when the gesture is updated.
Public fieldOnTransformComplete
Unity event, occurs when the gesture ends.
Public fieldOnTransformStart
Unity event, occurs when the gesture starts.
Protected fieldrotationAxis
Rotation axis to use with deltaRotation.
Protected fieldscreenTransformPixelThreshold
Protected fieldscreenTransformPixelThresholdSquared
ScreenTransformThreshold in pixels squared.
Protected fieldtargetPosition
Target overridden position. OverrideTargetPosition(Vector3).
Protected fieldtargetPositionOverridden
Indicates if current position is being overridden for the next frame. OverrideTargetPosition(Vector3).
Public fieldStatic memberTRANSFORM_COMPLETE_MESSAGE
Message name when gesture ends
Public fieldStatic memberTRANSFORM_MESSAGE
Message name when gesture updates
Public fieldStatic memberTRANSFORM_START_MESSAGE
Message name when gesture starts
Protected fieldtransformMask
Protected fieldtype
Top
See Also