FireTravelDistanceTo Method (ISpatial)

RAGE Plugin Hook Documentation

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

Gets the distance from this instance to the specified ISpatial instance, if using the road system.

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

public virtual float TravelDistanceTo(
	ISpatial spatialObject
)

Parameters

spatialObject
Type: RageISpatial
The ISpatial to get the distance to.

Return Value

Type: Single
A Single representing the distance from this instance to the specified ISpatial, if using the road system.

Implements

ISpatialTravelDistanceTo(ISpatial)
See Also

Reference