Navigation
API > API/Plugins > API/Plugins/PCG
A transient component intended to visualize attribute information of PCG Point Data, such as printing the string value in World Space. Future support may include: vectors, flow fields, heatmaps, etc. Note: Uses a built in timer for users that may want debug information for a limited timeframe during generation.
| Name | UPCGDebugDrawComponent |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGDebugDrawComponent.h |
| Include Path | #include "PCGDebugDrawComponent.h" |
Syntax
UCLASS (Transient, ClassGroup=(Procedural))
class UPCGDebugDrawComponent : public UDebugDrawComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UDebugDrawComponent → UPCGDebugDrawComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddDebugString
(
const FDebugRenderSceneProxy::FText3d& TextIn3D |
PCGDebugDrawComponent.h | ||
void AddDebugString
(
const FString& InString, |
PCGDebugDrawComponent.h | ||
void AddDebugStrings
(
const TArrayView< FDebugRenderSceneProxy::FText3d > TextIn3DArray |
PCGDebugDrawComponent.h | ||
void StartTimer
(
float DurationInMilliseconds |
PCGDebugDrawComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnTimerElapsed() |
PCGDebugDrawComponent.h |
Overridden from UDebugDrawComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FDebugRenderSceneProxy * CreateDebugSceneProxy() |
PCGDebugDrawComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnUnregister() |
PCGDebugDrawComponent.h |