Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorViewportClient
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include | #include "EditorViewportClient.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp |
void DrawActorScreenSpaceBoundingBox
&40;
FCanvas &42; InCanvas,
const FSceneView &42; InView,
FViewport &42; InViewport,
AActor &42; InActor,
const FLinearColor & InColor,
const bool bInDrawBracket,
const FString & InLabelText
&41;
Remarks
Draws a screen space bounding box around the specified actor
Parameters
| Name | 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 |