Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSceneView
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DeprojectScreenToWorld
(
const FVector2D& ScreenPos, |
Overload to take a single combined view projection matrix. | SceneView.h | |
static void DeprojectScreenToWorld
(
const FVector2D& ScreenPos, |
Transforms 2D screen coordinates into a 3D world-space origin and direction | SceneView.h |
DeprojectScreenToWorld(const FVector2D &, const FIntRect &, const FMatrix &, FVector &, FVector &)
Description
Overload to take a single combined view projection matrix.
| Name | DeprojectScreenToWorld |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneView.h |
| Include Path | #include "SceneView.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneView.cpp |
static void DeprojectScreenToWorld
(
const FVector2D & ScreenPos,
const FIntRect & ViewRect,
const FMatrix & InvViewProjMatrix,
FVector & out_WorldOrigin,
FVector & out_WorldDirection
)
DeprojectScreenToWorld(const FVector2D &, const FIntRect &, const FMatrix &, const FMatrix &, FVector &, FVector &)
Description
Transforms 2D screen coordinates into a 3D world-space origin and direction
| Name | DeprojectScreenToWorld |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneView.h |
| Include Path | #include "SceneView.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneView.cpp |
static void DeprojectScreenToWorld
(
const FVector2D & ScreenPos,
const FIntRect & ViewRect,
const FMatrix & InvViewMatrix,
const FMatrix & InvProjMatrix,
FVector & out_WorldOrigin,
FVector & out_WorldDirection
)
Parameters
| Name | Remarks |
|---|---|
| ScreenPos | screen coordinates in pixels |
| ViewRect | view rectangle |
| InvViewMatrix | inverse view matrix |
| InvProjMatrix | inverse projection matrix |
| out_WorldOrigin | (out) - world-space origin vector |
| out_WorldDirection | (out) - world-space direction vector |