Struct RayHit3D
Contains ray hit data.
Namespace: Evergine.Mathematics
Assembly: Evergine.Mathematics.dll
Syntax
public struct RayHit3D
Fields
Location
Location of the ray hit.
Declaration
public Vector3 Location
Field Value
Type | Description |
---|---|
Vector3 |
Normal
Normal of the ray hit.
Declaration
public Vector3 Normal
Field Value
Type | Description |
---|---|
Vector3 |
T
T parameter of the ray hit. The ray hit location is equal to the ray origin added to the ray direction multiplied by T.
Declaration
public float T
Field Value
Type | Description |
---|---|
float |