Click or drag to resize

WindowsPointerHandler Constructor

Initializes a new instance of the WindowsPointerHandler class.

Namespace:  TouchScript.InputSources.InputHandlers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public WindowsPointerHandler(
	PointerDelegate addPointer,
	PointerDelegate updatePointer,
	PointerDelegate pressPointer,
	PointerDelegate releasePointer,
	PointerDelegate removePointer,
	PointerDelegate cancelPointer
)

Parameters

addPointer
Type: TouchScript.InputSourcesPointerDelegate
A function called when a new pointer is detected.
updatePointer
Type: TouchScript.InputSourcesPointerDelegate
A function called when a pointer is moved or its parameter is updated.
pressPointer
Type: TouchScript.InputSourcesPointerDelegate
A function called when a pointer touches the surface.
releasePointer
Type: TouchScript.InputSourcesPointerDelegate
A function called when a pointer is lifted off.
removePointer
Type: TouchScript.InputSourcesPointerDelegate
A function called when a pointer is removed.
cancelPointer
Type: TouchScript.InputSourcesPointerDelegate
A function called when a pointer is cancelled.
See Also