TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.InputSources
InputSource Class
InputSource Methods
addPointer Method
M:TouchScript.InputSources.InputSource.cancelPointer(TouchScript.Pointers.Pointer)
CancelPointer Method
INTERNAL_DiscardPointer Method
OnDisable Method
OnEnable Method
pressPointer Method
releasePointer Method
remapCoordinates Method
removePointer Method
updateCoordinatesRemapper Method
UpdateInput Method
updatePointer Method
UpdateResolution Method
InputSource
CancelPointer Method
Cancels the pointer.
Namespace:
TouchScript.InputSources
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
InputSource Class
TouchScript.InputSources Namespace