TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.InputSources.InputHandlers
WindowsPointerHandler Class
WindowsPointerHandler Methods
CancelPointer Method
Dispose Method
init Method
INTERNAL_DiscardPointer Method
internalAddMousePointer Method
internalAddPenPointer Method
internalAddTouchPointer Method
internalRemovePenPointer Method
internalRemoveTouchPointer Method
internalReturnMousePointer Method
internalReturnPenPointer Method
internalReturnTouchPointer Method
remapCoordinates Method
resetPointer Method
UpdateInput Method
UpdateResolution Method
WindowsPointerHandler
CancelPointer Method
Cancels the pointer.
Namespace:
TouchScript.InputSources.InputHandlers
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
virtual
bool
CancelPointer
(
Pointer
pointer
,
bool
shouldReturn
)
Parameters
pointer
Type:
TouchScript.Pointers
Pointer
The pointer.
shouldReturn
Type:
System
Boolean
if set to
true
returns the pointer back to the system with different id.
Return Value
Type:
Boolean
True
if the pointer belongs to this Input and was successfully cancelled;
false
otherwise.
Implements
IInputSource
CancelPointer(Pointer, Boolean)
See Also
Reference
WindowsPointerHandler Class
TouchScript.InputSources.InputHandlers Namespace