CreatePerspectiveMouseRay3D is used for perspective camera and calculates a normalized 3D ray that goes from the mouse position into the 3D scene.
The ray goes from rayOrigin in the rayDirection.
If the ray cannot be calculated this method returns false.
For orthographic camera use CreateOrthographicMouseRay3D(Point, Size, Point3D, Vector3D, Vector3D, Double, Double, Point3D, Vector3D)
or use non-static CreateMouseRay3D(Point, Point3D, Vector3D)
Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.1.8147.1045
Syntax See Also