Struct HitResult
Represents the result of a raycasting hit.
Inherited Members
Namespace: Genesis.Physics
Assembly: Genesis.dll
Syntax
public struct HitResult
Fields
collisionObject
Declaration
public CollisionObject collisionObject
Field Value
| Type | Description |
|---|---|
| CollisionObject |
hit
Declaration
public bool hit
Field Value
| Type | Description |
|---|---|
| bool |
hitElement
Declaration
public GameElement hitElement
Field Value
| Type | Description |
|---|---|
| GameElement |
hitLocation
Declaration
public Vec3 hitLocation
Field Value
| Type | Description |
|---|---|
| Vec3 |
rayEnd
Declaration
public Vec3 rayEnd
Field Value
| Type | Description |
|---|---|
| Vec3 |
rayStart
Declaration
public Vec3 rayStart
Field Value
| Type | Description |
|---|---|
| Vec3 |