Click or drag to resize

IPointer Interface

Interface for an abstract pointer.

Namespace:  TouchScript.Pointers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public interface IPointer

The IPointer type exposes the following members.

Properties
  NameDescription
Public propertyButtons
Current buttons state of the pointer.
Public propertyFlags

Gets or sets pointer flags: [!:FLAG_ARTIFICIAL]

Note: setting this property doesn't immediately change its value, the value actually changes during the next TouchManager update phase.

Public propertyId
Internal unique pointer id.
Public propertyInputSource
Original input source which created this pointer.
Public propertyPosition
Current position in screen coordinates.
Public propertyPreviousPosition
Previous position in screen coordinates.
Public propertyType
Top
Methods
  NameDescription
Public methodGetOverData
Returns HitData for current pointer position, i.e. what is right beneath it. Caches the result for the entire frame.
Top
See Also