Struct TouchscreenGestureInputControllerState
State for input device representing touchscreen gestures.
Implements
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.AR.Inputs
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public struct TouchscreenGestureInputControllerState : IInputStateTypeInfo
  Fields
dragCurrentPosition
The current screen position of the drag gesture.
Declaration
public Vector2 dragCurrentPosition
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
dragDelta
The delta screen position of the drag gesture.
Declaration
public Vector2 dragDelta
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
dragStartPosition
The screen position where the drag gesture started.
Declaration
public Vector2 dragStartPosition
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
fingerCount
The number of fingers on the touchscreen.
Declaration
public int fingerCount
  Field Value
| Type | Description | 
|---|---|
| int | 
pinchGap
The gap between then position of the first and second fingers for the pinch gesture.
Declaration
public float pinchGap
  Field Value
| Type | Description | 
|---|---|
| float | 
pinchGapDelta
The gap delta between then position of the first and second fingers for the pinch gesture.
Declaration
public float pinchGapDelta
  Field Value
| Type | Description | 
|---|---|
| float | 
pinchStartPosition1
The screen position of the first finger where the pinch gesture started.
Declaration
public Vector2 pinchStartPosition1
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
pinchStartPosition2
The screen position of the second finger where the pinch gesture started.
Declaration
public Vector2 pinchStartPosition2
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
tapStartPosition
The screen position where the tap gesture started.
Declaration
public Vector2 tapStartPosition
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
twistDeltaRotation
The delta rotation of the twist gesture.
Declaration
public float twistDeltaRotation
  Field Value
| Type | Description | 
|---|---|
| float | 
twistStartPosition1
The screen position of the first finger where the twist gesture started.
Declaration
public Vector2 twistStartPosition1
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
twistStartPosition2
The screen position of the second finger where the twist gesture started.
Declaration
public Vector2 twistStartPosition2
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
twoFingerDragCurrentPosition
The current screen position of the two-finger drag gesture.
Declaration
public Vector2 twoFingerDragCurrentPosition
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
twoFingerDragDelta
The delta screen position of the two-finger drag gesture.
Declaration
public Vector2 twoFingerDragDelta
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
twoFingerDragStartPosition1
The screen position of the first finger where the two-finger drag gesture started.
Declaration
public Vector2 twoFingerDragStartPosition1
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
twoFingerDragStartPosition2
The screen position of the second finger where the two-finger drag gesture started.
Declaration
public Vector2 twoFingerDragStartPosition2
  Field Value
| Type | Description | 
|---|---|
| Vector2 | 
Properties
format
The data format identifier of the state.
Declaration
public FourCC format { get; }
  Property Value
| Type | Description | 
|---|---|
| FourCC | 
formatId
Memory format identifier for TouchscreenGestureInputControllerState.
Declaration
public static FourCC formatId { get; }
  Property Value
| Type | Description | 
|---|---|
| FourCC |