Click or drag to resize

ViewportCameraSettingsClassGetRayByScreenCoordinates Method (Vector2)

Generates world ray from screen coordinates.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Ray GetRayByScreenCoordinates(
	Vector2 screenPosition
)

Parameters

screenPosition
Type: NeoAxisVector2
The screen coordinates.

Return Value

Type: Ray
The ray.
See Also