DrawDebugSolidBox

Draw a solid box.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h

Include

#include "DrawDebugHelpers.h"

Source

/Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp

Syntax

void DrawDebugSolidBox
(
    const UWorld * InWorld,
    FBox const & Box,
    FColor const & Color,
    const FTransform & Transform,
    bool bPersistent,
    float LifeTime,
    uint8 DepthPriority
)

Remarks

Draw a solid box. Various API's provided for convenience, including ones that use FBox as well as ones that prefer (Center, Extent). Draw a Debug box with optional transform.

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