TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.InputSources.InputHandlers
MouseHandler Class
MouseHandler Methods
CancelMousePointer Method
CancelPointer Method
Dispose Method
INTERNAL_DiscardPointer Method
UpdateInput Method
UpdateResolution Method
MouseHandler
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
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
MouseHandler Class
TouchScript.InputSources.InputHandlers Namespace