ViewportCameraSettingsClassGetRayByScreenCoordinates(Vector2, Ray) Method |
Generates world ray from screen coordinates.
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic void GetRayByScreenCoordinates(
ref Vector2 screenPosition,
out Ray result
)
Parameters
- screenPosition Vector2
- The screen coordinates.
- result Ray
-
Return Value
The ray.
See Also