|
override void | deleteCptr () |
|
override bool | DerivedClassHasMethod (string methodName, System.Type[] methodTypes) |
|
override IntPtr | GetNonDirectorClassID () |
|
override bool | IsUserDerived () |
|
|
static void | DtorCallback (IntPtr p) |
|
bool | cMemOwn |
|
HandleRef | cptr |
|
static Dictionary< IntPtr, Event > | cachedObjects = new Dictionary<IntPtr, Event>() |
|
static ReaderWriterLockSlim | mapLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion) |
|
The TouchEvent class is the event generated for each touch action on a multi-touch device.
◆ Action
Enumeration of various actions touches can undergo for a TouchEvent.
Enumerator |
---|
TouchDown | A touch, or touches, has just gone down.
|
TouchUp | A touch, or touches, has just gone up.
|
Move | A touch, or touches, has just moved.
|
◆ TouchEvent() [1/6]
HPS.TouchEvent.TouchEvent |
( |
| ) |
|
|
inline |
The default constructor creates an uninitialized TouchEvent object.
◆ TouchEvent() [2/6]
This constructor creates a TouchEvent object for a given action without an array of Touches. Specifying TouchUp without an array of Touches clears tracked touches.
- Parameters
-
◆ TouchEvent() [3/6]
This constructor creates a TouchEvent object for a given action without an array of Touches. Specifying TouchUp without an array of Touches clears tracked touches.
- Parameters
-
◆ TouchEvent() [4/6]
This constructor creates a TouchEvent object for a given action with an array of Touches. Specifying TouchUp with an empty an array of Touches clears tracked touches.
- Parameters
-
◆ TouchEvent() [5/6]
This constructor creates a TouchEvent object for a given action with an array of Touches. Specifying TouchUp with an empty an array of Touches clears tracked touches.
- Parameters
-
◆ TouchEvent() [6/6]
HPS.TouchEvent.TouchEvent |
( |
HPS.Event |
in_event | ) |
|
|
inline |
This constructor converts an EventObject to a TouchEvent object.
- Parameters
-
in_event | The EventObject to be converted. |
◆ Clone()
◆ Drop()
override bool HPS.TouchEvent.Drop |
( |
HPS.Event |
in_that_event | ) |
|
|
inlinevirtual |
Determines if this TouchEvent can be dropped in favor of the following touch event.
- Parameters
-
- Returns
- true if this event can be dropped, false otherwise.
Reimplemented from HPS.Event.
◆ Equals() [1/2]
Check if the source object is equivalent to this object.
- Parameters
-
in_that | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
Reimplemented from HPS.InputEvent.
◆ Equals() [2/2]
Check if the source object is equivalent to this object.
- Parameters
-
in_that | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.TouchEvent.cs