Navigation
API > API/Editor > API/Editor/UnrealEd
Contains information about a mouse cursor position within a viewport, transformed into the correct coordinate system for the viewport.
| Name | FViewportCursorLocation |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include Path | #include "EditorViewportClient.h" |
Syntax
struct FViewportCursorLocation
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FViewportCursorLocation
(
const FSceneView* View, |
EditorViewportClient.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FViewportCursorLocation() |
EditorViewportClient.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CursorPos | FIntPoint | EditorViewportClient.h | ||
| Direction | FVector | EditorViewportClient.h | ||
| Origin | FVector | EditorViewportClient.h | ||
| ViewportClient | FEditorViewportClient * | EditorViewportClient.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FIntPoint & GetCursorPos() |
EditorViewportClient.h | ||
const FVector & GetDirection() |
EditorViewportClient.h | ||
const FVector & GetOrigin() |
EditorViewportClient.h | ||
FEditorViewportClient * GetViewportClient() |
EditorViewportClient.h | ||
ELevelViewportType GetViewportType() |
EditorViewportClient.h |