TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.InputSources
StandardInput Class
StandardInput Methods
CancelPointer Method
UpdateInput Method
UpdateResolution Method
StandardInput
CancelPointer Method
Cancels the pointer.
Namespace:
TouchScript.InputSources
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
override
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
StandardInput Class
TouchScript.InputSources Namespace