Click or drag to resize
CameraEntityRayFromMouse Method
Return a ray starting from the camera and pointing directly at mouse position (translated to 3d space). This is a helper function that help to get ray collision based on camera and mouse.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Ray RayFromMouse()

Return Value

Type: Ray
Ray from camera to mouse.
See Also