---
layout: stdlib-reference
---
# struct RayDesc
## Description
Describes a ray for traversal through an acceleration structure.
## Fields
#### [Direction](direction-0.html) : [vector](../vector/index.html)\
Normalized direction vector of the ray in world space.
#### [Origin](origin-0.html) : [vector](../vector/index.html)\
Starting point of the ray in world space.
#### [TMax](tmax-01.html) : float
Maximum distance along the ray to consider intersections.
#### [TMin](tmin-01.html) : float
Minimum distance along the ray to consider intersections.
## Methods
* init