Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoViewContext.h |
Include |
#include "BaseGizmos/GizmoViewContext.h" |
class UGizmoViewContext : public UObject
A context object that is meant to hold the scene information for the hovered viewport on a game thread, to be used by a gizmo later for hit testing. The organization mirrors FSceneView so that functions could be written in a templated way to use either FSceneView or UGizmoViewContext, though UGizmoViewContext only keeps the needed data.
Name | Description | ||
---|---|---|---|
|
GetViewDirection() |
||
|
GetViewRight() |
FSceneView-like functions/properties: |
|
|
GetViewUp() |
||
|
IsPerspectiveProjection() |
As a function just for similarity with FSceneView. |
|
|
ResetFromSceneView ( |
Use this to reinitialize the object each frame for the hovered viewport. |
|
|
WorldToScreen ( |
Name |
Description |
|
---|---|---|
|
FMatrices |
Wrapping class for the matrices so that they can be accessed in the same way that they are accessed in FSceneView. |