Click or drag to resize

Vector2DistanceTo Method

Gets the distance to another Vector2.

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

Parameters

other
Type: SampSharp.Entities.SAMPVector2
The Vector2 to calculate the distance to.

Return Value

Type: Single
The distance between the vectors.
See Also