FireDistanceTo2D Method (Vector3)

RAGE Plugin Hook Documentation

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

Gets the distance from this instance to the specified position.

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

public virtual float DistanceTo2D(
	Vector3 position
)

Parameters

position
Type: RageVector3
The position to get the distance to.

Return Value

Type: Single
A Single representing the distance from this instance to the specified position.

Implements

ISpatialDistanceTo2D(Vector3)
See Also

Reference