Click or drag to resize

Vector4Distance Method (Vector4, Vector4, Single)

Returns the distance between two vectors.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static void Distance(
	ref Vector4 value1,
	ref Vector4 value2,
	out float result
)

Parameters

value1
Type: SampSharp.Entities.SAMPVector4
The first vector.
value2
Type: SampSharp.Entities.SAMPVector4
The second vector.
result
Type: SystemSingle
The distance between two vectors as an output parameter.
See Also