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-local+709673996c0cc3c0733358a87691d1009326afa7
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