API reference

SurfaceHit Struct

Properties

The position of the surface hit.
The normal of the surface hit.
The distance of the surface hit from the ray origin.