[This is preliminary documentation and is subject to change.]
Calculates the distance between a vector and a ISpatial, ignoring the Z-component.
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
public static float DistanceSquared( Vector3 value1, ISpatial spatialObject )
Public Shared Function DistanceSquared ( value1 As Vector3, spatialObject As ISpatial ) As Single
public: static float DistanceSquared( Vector3 value1, ISpatial^ spatialObject )
Return ValueType: Single
The squared distance between the vector and the ISpatial.