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 public Ray GetRayByScreenCoordinates(
Vector2 screenPosition
)
Parameters
- screenPosition
- Type: NeoAxisVector2
The screen coordinates.
Return Value
Type:
RayThe ray.
See Also