Camera.projectLocalRayNormal

Returns a normal vector from the screen point location directed along the camera. Orthogonal cameras are normalized. Perspective cameras account for perspective, screen width/height, etc.

struct Camera
@nogc nothrow const
Vector3
projectLocalRayNormal
(
in Vector2 screen_point
)

Meta