[This is preliminary documentation and is subject to change.]
Represents an object that has a position.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
The ISpatial type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Position |
Gets or sets the position of this instance.
|
Methods
| Name | Description | |
|---|---|---|
| DistanceTo(ISpatial) |
Gets the distance from this instance to the specified ISpatial instance.
| |
| DistanceTo(Vector3) |
Gets the distance from this instance to the specified position.
| |
| DistanceTo2D(ISpatial) |
Gets the distance from this instance to the specified ISpatial instance.
| |
| DistanceTo2D(Vector3) |
Gets the distance from this instance to the specified position.
| |
| TravelDistanceTo(ISpatial) |
Gets the distance from this instance to the specified ISpatial instance, if using the road system.
| |
| TravelDistanceTo(Vector3) |
Gets the distance from this instance to the specified position, if using the road system.
|
See Also