Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UDebugDrawService |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Debug/DebugDrawService.h |
| Include Path | #include "Debug/DebugDrawService.h" |
Syntax
UCLASS (Config=Engine, MinimalAPI)
class UDebugDrawService : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UDebugDrawService
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDebugDrawService
(
const FObjectInitializer& ObjectInitializer |
Debug/DebugDrawService.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDebugDrawMulticastDelegate | TMulticastDelegate_TwoParams< void, UCanvas *, APlayerController * > | Debug/DebugDrawService.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Delegates | TArray< FDebugDrawMulticastDelegate > | Debug/DebugDrawService.h | |
| DelegatesLock | FTransactionallySafeCriticalSection | Synchronization object for delegate registration since it can happen from multiple threads. | Debug/DebugDrawService.h |
| ObservedFlags | FEngineShowFlags | Debug/DebugDrawService.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Draw
(
const FEngineShowFlags Flags, |
Draws debug canvas that has already been initialized to a viewport | Debug/DebugDrawService.h | |
static void Draw
(
const FEngineShowFlags Flags, |
Initialize a debug canvas object then calls above draw. | Debug/DebugDrawService.h | |
static FDelegateHandle Register
(
const TCHAR* Name, |
Debug/DebugDrawService.h | ||
static void Unregister
(
FDelegateHandle HandleToRemove |
Debug/DebugDrawService.h |