A single ray cast hit data.

Constructor

new()

Default constructor.

Variables

fraction:Float

The ratio of the position the ray hit from the start point to the end point.

normal:Vec3

The normal vector of the surface the ray hit.

position:Vec3

The position the ray hit at.