Navigation
API > API/Runtime > API/Runtime/Chaos
Debug draw system for a world. In PIE there will be one of these for the server and each client.
| Name | FChaosDDScene |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDScene.h |
| Include Path | #include "ChaosDebugDraw/ChaosDDScene.h" |
Syntax
class FChaosDDScene : public TSharedFromThis< FChaosDDScene >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FChaosDDScene
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosDDScene
(
const FString& InName, |
ChaosDebugDraw/ChaosDDScene.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FChaosDDScene() |
ChaosDebugDraw/ChaosDDScene.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsServer | bool | ChaosDebugDraw/ChaosDDScene.h | ||
| bRenderEnabled | bool | ChaosDebugDraw/ChaosDDScene.h | ||
| CommandBudget | int32 | ChaosDebugDraw/ChaosDDScene.h | ||
| DrawRegion | FSphere3d | ChaosDebugDraw/ChaosDDScene.h | ||
| Name | FString | ChaosDebugDraw/ChaosDDScene.h | ||
| Timelines | TArray< FChaosDDTimelineWeakPtr > | ChaosDebugDraw/ChaosDDScene.h | ||
| TimelinesCS | FCriticalSection | ChaosDebugDraw/ChaosDDScene.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosDDTimelinePtr CreateTimeline
(
const FString& Name |
Create a new timeline. | ChaosDebugDraw/ChaosDDScene.h | |
int32 GetCommandBudget() |
The number of commands we can draw (also max number of lines for now) | ChaosDebugDraw/ChaosDDScene.h | |
const FSphere3d & GetDrawRegion() |
The region of interest. | ChaosDebugDraw/ChaosDDScene.h | |
TArray< FChaosDDFramePtr > GetLatestFrames() |
Collect all the latest complete frames for rendering. | ChaosDebugDraw/ChaosDDScene.h | |
const FString & GetName() |
ChaosDebugDraw/ChaosDDScene.h | ||
bool IsRenderEnabled() |
ChaosDebugDraw/ChaosDDScene.h | ||
bool IsServer() |
ChaosDebugDraw/ChaosDDScene.h | ||
void SetCommandBudget
(
int32 InCommandBudget |
Set the line budget for debug draw. | ChaosDebugDraw/ChaosDDScene.h | |
void SetDrawRegion
(
const FSphere3d& InDrawRegion |
Specify the region of in which we wish to enable debug draw. A radius of zero means everywhere. | ChaosDebugDraw/ChaosDDScene.h | |
void SetRenderEnabled
(
bool bInRenderEnabled |
ChaosDebugDraw/ChaosDDScene.h |