SampSharp
SampSharp
SampSharp.Entities.SAMP
Vector4 Structure
Vector4 Methods
Distance Method
Distance Method (Vector4, Vector4)
Distance Method (Vector4, Vector4, Single)
Vector4
Distance 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#
Copy
public
static
void
Distance
(
ref
Vector4
value1
,
ref
Vector4
value2
,
out
float
result
)
Parameters
value1
Type:
SampSharp.Entities.SAMP
Vector4
The first vector.
value2
Type:
SampSharp.Entities.SAMP
Vector4
The second vector.
result
Type:
System
Single
The distance between two vectors as an output parameter.
See Also
Reference
Vector4 Structure
Distance Overload
SampSharp.Entities.SAMP Namespace