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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss