Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
Include |
#include "EditorViewportClient.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp |
void DrawActorScreenSpaceBoundingBox
(
FCanvas * InCanvas,
const FSceneView * InView,
FViewport * InViewport,
AActor * InActor,
const FLinearColor & InColor,
const bool bInDrawBracket,
const FString & InLabelText
)
Draws a screen space bounding box around the specified actor
Parameter |
Description |
---|---|
InCanvas |
Canvas to draw on |
InView |
View to render |
InViewport |
Viewport we're rendering into |
InActor |
Actor to draw a bounding box for |
InColor |
Color of bounding box |
bInDrawBracket |
True to draw a bracket, otherwise a box will be rendered |
bInLabelText |
Optional label text to draw |