Click or drag to resize

Vector2DistanceTo Method

Gets the distance to another Vector2.

Namespace:  SampSharp.GameMode
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public float DistanceTo(
	Vector2 other
)

Parameters

other
Type: SampSharp.GameModeVector2
The Vector2 to calculate the distance to.

Return Value

Type: Single
The distance between the vectors.
See Also