![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <InputState.h>
Public Member Functions | |
| FInputDeviceRay () | |
| FInputDeviceRay (const FRay &WorldRayIn) | |
| FInputDeviceRay (const FRay &WorldRayIn, const FVector2D &ScreenPositionIn) | |
| FInputDeviceRay (const FInputDeviceState &Input) | |
Public Attributes | |
| FRay | WorldRay |
| bool | bHas2D = false |
| FVector2D | ScreenPosition |
FInputDeviceRay represents a 3D ray created based on an input device. If the device is a 2D input device like a mouse, then the ray may have an associated 2D screen position.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
| FVector2D FInputDeviceRay::ScreenPosition |
2D device position coordinates associated with the ray
| FRay FInputDeviceRay::WorldRay |
3D ray in 3D scene, in world coordinates