State layout for a single touch.
public struct TouchState : IInputStateTypeInfo
Fields
Declaration
Field Value
Declaration
Field Value
Type |
Description |
System.Byte |
|
Declaration
Field Value
Type |
Description |
System.Byte |
|
Declaration
Field Value
Declaration
Field Value
Type |
Description |
System.Single |
|
Declaration
Field Value
Declaration
public Vector2 startPosition
Field Value
Declaration
Field Value
Type |
Description |
System.Double |
|
Declaration
Field Value
Type |
Description |
System.Byte |
|
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
Declaration
public FourCC format { get; }
Property Value
Implements
Declaration
public bool isIndirectTouch { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isInProgress { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isNoneEndedOrCanceled { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isPrimaryTouch { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool isTap { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public static FourCC kFormat { get; }
Property Value
Declaration
public TouchPhase phase { get; set; }
Property Value
Methods
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()