Navigation
API > API/Editor > API/Editor/UnrealEd
Implements some basic functionality used by all editor viewports.
| Name | FEditorCommonDrawHelper |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorComponents.h |
| Include Path | #include "EditorComponents.h" |
Syntax
class FEditorCommonDrawHelper
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEditorCommonDrawHelper() |
EditorComponents.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEditorCommonDrawHelper() |
EditorComponents.h |
Structs
| Name | Remarks |
|---|---|
| EAxisLines | Types of axis lines we can draw for orthographic views |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxesLineThickness | float | EditorComponents.h | ||
| BaseBoxColor | FColor | EditorComponents.h | ||
| bDrawBaseInfo | uint32 | EditorComponents.h | ||
| bDrawGrid | uint32 | EditorComponents.h | ||
| bDrawKillZ | uint32 | EditorComponents.h | ||
| bDrawPivot | uint32 | EditorComponents.h | ||
| bDrawWorldBox | uint32 | EditorComponents.h | ||
| DepthPriorityGroup | ESceneDepthPriorityGroup | EditorComponents.h | ||
| GridColorAxis | FColor | Color of the grid on the main axes lines | EditorComponents.h | |
| GridColorMajor | FColor | Color of the grid on major axes lines (every Nth grid step line) | EditorComponents.h | |
| GridColorMinor | FColor | Color of grid lines at each grid interval | EditorComponents.h | |
| GridDepthBias | float | EditorComponents.h | ||
| GridWidget | FGridWidget * | EditorComponents.h | ||
| NumCells | int32 | The number of cells to draw. | EditorComponents.h | |
| PerspectiveGridSize | float | EditorComponents.h | ||
| PivotColor | FColor | EditorComponents.h | ||
| PivotSize | float | EditorComponents.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Draw
(
const FSceneView* View, |
Renders the grid, pivot, and base info. | EditorComponents.h | |
void DrawBaseInfo
(
const FSceneView* View, |
Draw green lines to indicate what the selected actor(s) are based on. | EditorComponents.h | |
void DrawPivot
(
const FSceneView* View, |
Renders the editor's pivot. | EditorComponents.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DrawGridSection
(
double ViewportGridY, |
Draws a section(vertical lines or horizontal lines) of a viewport's grid. | EditorComponents.h | |
static void DrawOriginAxisLine
(
FVector* A, |
Draws an origin axis line for the orthographic grid | EditorComponents.h |