XRRay constructor

XRRay([
  1. DOMPointInit? origin,
  2. XRRayDirectionInit? direction
])

Implementation

factory XRRay([DOMPointInit? origin, XRRayDirectionInit? direction]) =>
    XRRay._(origin ?? undefined, direction ?? undefined);