Click or drag to resize

TouchScript.Pointers Namespace

 
Classes
  ClassDescription
Public classFakePointer
Fake pointer.
Public classMousePointer
A pointer of type Mouse.
Public classObjectPointer
A pointer of type Object.
Public classPenPointer
A pointer of type Pen.
Public classPointer

Representation of a pointer (touch, mouse) within TouchScript.

An instance of this class is created when user touches the screen. A unique id is assigned to it which doesn't change throughout its life.

Attention! Do not store references to these objects beyond pointer's lifetime (i.e. when target finger is lifted off). These objects may be reused internally. Store unique ids instead.

Public classPointerFactory
Static factory to create pointers.
Public classTouchPointer
A pointer of type Touch.
Interfaces
  InterfaceDescription
Public interfaceIPointer
Interface for an abstract pointer.
Enumerations
  EnumerationDescription
Public enumerationPointerPointerButtonState
The state of buttons for a pointer. Combines 3 types of button events: Pressed (holding a button), Down (just pressed this frame) and Up (released this frame).
Public enumerationPointerPointerType
Pointer type.