Click or drag to resize

IInputSourceCancelPointer Method

Cancels the pointer.

Namespace:  TouchScript.InputSources
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
bool CancelPointer(
	Pointer pointer,
	bool shouldReturn
)

Parameters

pointer
Type: TouchScript.PointersPointer
The pointer.
shouldReturn
Type: SystemBoolean
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.
See Also