API reference

SurfaceHit Struct

Properties

Vector3 Point[Get]
The position of the surface hit.
Vector3 Normal[Get]
The normal of the surface hit.
float Distance[Get]
The distance of the surface hit from the ray origin.