|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The TouchState class represents the state of touches on a multi-touch device for a particular event.
◆ TouchState() [1/2]
HPS.TouchState.TouchState |
( |
| ) |
|
|
inline |
The default constructor creates an empty TouchState object.
◆ TouchState() [2/2]
The copy constructor creates a new TouchState object that contains the same settings as the source TouchState.
- Parameters
-
◆ Assign()
◆ Equals()
Check if the source TouchState is equivalent to this TouchState.
- Returns
- true if the objects are equivalent, false otherwise.
◆ GetActiveEvent()
Get the active event for this TouchState. This will throw an exception if there is no active action for this TouchState.
- Returns
- The action for the active touches for this TouchState.
◆ GetEventPath()
HPS.Key [] HPS.TouchState.GetEventPath |
( |
| ) |
|
|
inline |
Get the relevant list of keys up to the window which had focus when the touches represented by this TouchState underwent the active action. This will throw an exception if there is no event path for this TouchState.
- Returns
- The relevant list of keys up to the window which had focus when the touches represented by this TouchState underwent the active action.
◆ GetEventSource()
Get the window which had focus when the touches represented by this TouchState underwent the active action. This will throw an exception if there is no event source for this TouchState.
- Returns
- The window which had focus when the touches represented by this TouchState underwent the active action.
◆ GetModifierKeys()
Get an object representing the state of modifier keys for this TouchState.
- Returns
- An object representing the state of modifier keys.
◆ GetTouchCount()
ulong HPS.TouchState.GetTouchCount |
( |
| ) |
|
|
inline |
Get the number of touches currently down in this TouchState.
- Returns
- Number of touches.
◆ GetTouches()
Get the touches currently down in this TouchState.
- Returns
- The list of touches.
◆ ObjectType()
override HPS.Type HPS.TouchState.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
◆ Set() [1/2]
Sets the properties of this TouchState.
- Parameters
-
in_path | The list of keys up to the window which had focus for this touch event. |
in_event | The touch event. |
in_touches | The touches down during this touch event. |
in_modifiers | The state of modifier keys for this touch event. |
◆ Set() [2/2]
Sets the properties of this TouchState.
- Parameters
-
in_path | The list of keys up to the window which had focus for this touch event. |
in_event | The touch event. |
in_touches | The touches down during this touch event. |
◆ SetActiveEvent()
Sets the active event for this TouchState.
- Parameters
-
◆ SetEventPath()
void HPS.TouchState.SetEventPath |
( |
HPS.Key [] |
in_path | ) |
|
|
inline |
Sets the relevant list of keys up to the window which had focus for this touch event.
- Parameters
-
in_path | The relevant list of keys up to the window which had focus when the touches represented by this TouchState underwent the active action. |
◆ SetModifierKeys()
Sets an object representing the state of modifier keys for this TouchState.
- Parameters
-
in_modifiers | An object representing the state of modifier keys. |
◆ SetTouches()
void HPS.TouchState.SetTouches |
( |
HPS.Touch [] |
in_touches | ) |
|
|
inline |
Sets the touches currently down in this TouchState.
- Parameters
-
in_touches | The list of touches. |
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.TouchState.cs