Click or drag to resize
CameraGetMouseRay Method
Get the 3d ray that starts from camera position and directed at current mouse position.

Namespace:  GeonBit.ECS.Components.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Ray GetMouseRay()

Return Value

Type: Ray
Ray from camera to mouse position.
See Also