Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InputState.h |
| Include | #include "InputState.h" |
Syntax
USTRUCT (BlueprintType )
struct FInputDeviceRay
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHas2D | If true, WorldRay has 2D device position coordinates | |
| FVector2D | ScreenPosition | 2D device position coordinates associated with the ray | |
| FRay | WorldRay | 3D ray in 3D scene, in world coordinates |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| This is required for a USTRUCT | |||
FInputDeviceRay
(
const FRay& WorldRayIn |
|||
FInputDeviceRay
(
const FInputDeviceState& Input |
|||
FInputDeviceRay
(
const FRay& WorldRayIn, |