Click or drag to resize
RaycastResultsSingleResult Structure
All the data of a single raycast result.

Namespace:  GeonBit.Core.Physics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public struct SingleResult

The RaycastResultsSingleResult type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldCollisionBody
Physical body we collided with.
Public fieldCollisionNormal
Collision normal.
Public fieldCollisionPoint
Collision position in world space.
Public fieldHitFraction
Hit fraction.
Top
See Also