Click or drag to resize

FakePointer Class

Fake pointer.
Inheritance Hierarchy
SystemObject
  TouchScript.PointersFakePointer

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

The FakePointer type exposes the following members.

Constructors
  NameDescription
Public methodFakePointer
Initializes a new instance of the FakePointer class.
Public methodFakePointer(Vector2)
Initializes a new instance of the FakePointer class.
Top
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