Click or drag to resize

InputSourceCancelPointer Method

Cancels the pointer.

Namespace:  TouchScript.InputSources
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public virtual 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.

Implements

IInputSourceCancelPointer(Pointer, Boolean)
See Also