Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The read-only direction property of the XRRay interface is a DOMPointReadOnly representing the ray's 3-dimensional directional vector, normalized to a unit vector with a length of 1.0.