Vector4Distance Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Calculates the distance between two vectors.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static float Distance(
	Vector4 value1,
	Vector4 value2
)

Parameters

value1
Type: RageVector4
The first vector.
value2
Type: RageVector4
The second vector.

Return Value

Type: Single
The distance between the two vectors.
See Also

Reference