Struct TapInput
Simple object to contain information for a tap input.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Immersive.Input
Assembly: cs.temp.dll.dll
Syntax
public struct TapInput
Fields
InputId
Declaration
public readonly int InputId
Field Value
| Type | Description |
|---|---|
| System.Int32 |
PressPosition
Position that the tap started.
Declaration
public readonly Vector2 PressPosition
Field Value
| Type | Description |
|---|---|
| Vector2 |
ReleasePosition
Position that the tap started.
Declaration
public readonly Vector2 ReleasePosition
Field Value
| Type | Description |
|---|---|
| Vector2 |
TapDrift
Total amount of drift the tap had, in screen units.
Declaration
public readonly float TapDrift
Field Value
| Type | Description |
|---|---|
| System.Single |
TapDuration
How long the tap was held.
Declaration
public readonly double TapDuration
Field Value
| Type | Description |
|---|---|
| System.Double |
TimeStamp
Timestamp of tap.
Declaration
public readonly double TimeStamp
Field Value
| Type | Description |
|---|---|
| System.Double |