HitResult Structure

RAGE Plugin Hook Documentation

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

Struct representing the result of a ray trace.

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

public struct HitResult

The HitResult type exposes the following members.

Properties

  NameDescription
Public propertyHit
Gets a value indicating whether the trace hit anything.
Public propertyHitEntity
Gets the Entity that was hit.
Public propertyHitNormal
Gets the normal of the surface that was hit.
Public propertyHitPosition
Gets the position where the trace hit.
Top
See Also

Reference