Click or drag to resize
RaycastResults Structure
Raycast results object.

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

The RaycastResults type exposes the following members.

Properties
  NameDescription
Public propertyCollision
Get first / main result. Careful not to call this without checking HasHit first.
Top
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 fieldCollisions
List of hit results.
Public fieldHasHit
Did the raycast hit anything?
Top
See Also