ClusterUtilsGetPrevious2DCenterPosition Method |
Calculates the centroid of pointers' previous positions.
Namespace:
TouchScript.Utils
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static Vector2 GetPrevious2DCenterPosition(
IList<Pointer> pointers
)
Parameters
- pointers
- Type: System.Collections.GenericIListPointer
List of pointers.
Return Value
Type:
Vector2Centroid of pointers' previous positions or
INVALID_POSITION if cluster contains no points.
See Also