Navigation
API > API/Runtime > API/Runtime/Chaos
A thread safe way to generate latent debug drawing. (This is picked up later by the geometry collection component which is a total hack for now, but needed to get into an engine world )
| Name | FDebugDrawQueue |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/DebugDrawQueue.h |
| Include Path | #include "Chaos/DebugDrawQueue.h" |
Syntax
class FDebugDrawQueue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDebugDrawQueue() |
Chaos/DebugDrawQueue.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FDebugDrawQueue() |
Chaos/DebugDrawQueue.h |
Enums
Public
| Name | Remarks |
|---|---|
| EBuffer |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableDebugDrawing | bool | Chaos/DebugDrawQueue.h | ||
| CenterOfInterest | FVector | Chaos/DebugDrawQueue.h | ||
| CommandQueue | TArray< FLatentDrawCommand > | Chaos/DebugDrawQueue.h | ||
| CommandQueueCS | FCriticalSection | Chaos/DebugDrawQueue.h | ||
| Consumers | TArray< void * > | Chaos/DebugDrawQueue.h | ||
| ConsumersCS | FCriticalSection | Chaos/DebugDrawQueue.h | ||
| MaxCommandCost | int32 | Chaos/DebugDrawQueue.h | ||
| NumConsumers | int32 | Chaos/DebugDrawQueue.h | ||
| RadiusOfInterest | FReal | Chaos/DebugDrawQueue.h | ||
| RequestedCommandCost | int32 | Chaos/DebugDrawQueue.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawDebugBox
(
FVector const& Center, |
Chaos/DebugDrawQueue.h | ||
void DrawDebugCapsule
(
const FVector& Center, |
Chaos/DebugDrawQueue.h | ||
void DrawDebugCircle
(
const FVector& Center, |
Chaos/DebugDrawQueue.h | ||
void DrawDebugCoordinateSystem
(
const FVector& Position, |
Chaos/DebugDrawQueue.h | ||
void DrawDebugDirectionalArrow
(
const FVector& LineStart, |
Chaos/DebugDrawQueue.h | ||
void DrawDebugLine
(
const FVector& LineStart, |
Chaos/DebugDrawQueue.h | ||
void DrawDebugPoint
(
const FVector& Position, |
Chaos/DebugDrawQueue.h | ||
void DrawDebugSphere
(
FVector const& Center, |
Chaos/DebugDrawQueue.h | ||
| Chaos/DebugDrawQueue.h | |||
void ExtractAllElements
(
TArray< FLatentDrawCommand >& OutDrawCommands, |
Chaos/DebugDrawQueue.h | ||
FVector GetCenterOfInterest() |
Chaos/DebugDrawQueue.h | ||
FReal GetRadiusOfInterest() |
Chaos/DebugDrawQueue.h | ||
bool IsInRegionOfInterest
(
FVector Pos |
Chaos/DebugDrawQueue.h | ||
bool IsInRegionOfInterest
(
FAABB3 Bounds |
Chaos/DebugDrawQueue.h | ||
bool IsInRegionOfInterest
(
FVector Pos, |
Chaos/DebugDrawQueue.h | ||
void SetConsumerActive
(
void* Consumer, |
Chaos/DebugDrawQueue.h | ||
void SetEnabled
(
bool bInEnabled |
Chaos/DebugDrawQueue.h | ||
void SetMaxCost
(
int32 InMaxCost |
Chaos/DebugDrawQueue.h | ||
void SetRegionOfInterest
(
const FVector& Pos, |
Chaos/DebugDrawQueue.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FDebugDrawQueue & GetInstance() |
Chaos/DebugDrawQueue.h | ||
static bool IsDebugDrawingEnabled() |
Chaos/DebugDrawQueue.h |