Click or drag to resize

GestureRecognizerDistance Method (Single, Single)

Gets the distance of a vector, in units

Namespace:  DigitalRubyShared
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public float Distance(
	float xVector,
	float yVector
)

Parameters

xVector
Type: SystemSingle
X vector
yVector
Type: SystemSingle
Y vector

Return Value

Type: Single
The distance of the vector in units.
See Also