RaycastResults Structure |
Namespace: GeonBit.Core.Physics
public struct RaycastResults
The RaycastResults type exposes the following members.
Name | Description | |
---|---|---|
Collision |
Get first / main result.
Careful not to call this without checking HasHit first.
|
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
Collisions |
List of hit results.
| |
HasHit |
Did the raycast hit anything?
|