Click or drag to resize

InputSourceremapCoordinates Method

Remaps the coordinates using the CoordinatesRemapper if it is set.

Namespace:  TouchScript.InputSources
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected virtual Vector2 remapCoordinates(
	Vector2 position
)

Parameters

position
Type: Vector2
The position.

Return Value

Type: Vector2
Remapped position if CoordinatesRemapper is set; the value of position argument otherwise.
See Also