FEditorCommonDrawHelper

Implements some basic functionality used by all editor viewports.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorComponents.h

Include

#include "EditorComponents.h"

Syntax

class FEditorCommonDrawHelper

Remarks

Implements some basic functionality used by all editor viewports.

Variables

Name Description

Public variable

float

 

AxesLineThickness

Public variable

FColor

 

BaseBoxColor

Public variable

uint32: 1

 

bDrawBaseInfo

Public variable

uint32: 1

 

bDrawGrid

Public variable

uint32: 1

 

bDrawKillZ

Public variable

uint32: 1

 

bDrawPivot

Public variable

uint32: 1

 

bDrawWorldBox

Public variable

ESceneDepthPrio...

 

DepthPriorityGroup

Public variable

FColor

 

GridColorAxis

Color of the grid on the main axes lines

Public variable

FColor

 

GridColorMajor

Color of the grid on major axes lines (every Nth grid step line)

Public variable

FColor

 

GridColorMinor

Color of grid lines at each grid interval

Public variable

float

 

GridDepthBias

Public variable

FGridWidget ...

 

GridWidget

Public variable

int32

 

NumCells

The number of cells to draw.

Public variable

float

 

PerspectiveGridSize

Public variable

FColor

 

PivotColor

Public variable

float

 

PivotSize

Constructors

Name Description

Public function

FEditorCommonDrawHelper()

Destructors

Name Description

Public function Virtual

~FEditorCommonDrawHelper()

Functions

Name Description

Public function Virtual

void

 

Draw

(
    const FSceneView* View,
    FPrimitiveDrawInterface* PDI
)

Renders the grid, pivot, and base info.

Public function

void

 

DrawBaseInfo

(
    const FSceneView* View,
    FPrimitiveDrawInterface* PDI
)

Draw green lines to indicate what the selected actor(s) are based on.

Public function

void

 

DrawPivot

(
    const FSceneView* View,
    FPrimitiveDrawInterface* PDI
)

Renders the editor's pivot.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback