Click or drag to resize

ViewportCameraSettingsClassGetRayByScreenCoordinates Method (Vector2, Ray)

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 void GetRayByScreenCoordinates(
	ref Vector2 screenPosition,
	out Ray result
)

Parameters

screenPosition
Type: NeoAxisVector2
The screen coordinates.
result
Type: NeoAxisRay

Return Value

Type: 
The ray.
See Also