Builds an instance of the ray object.
Use the static pseudo-constructor instead it. See: Overview of Rays