Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/ChaosDebugDraw
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- FChaosDDFrame
- FChaosDDGlobalFrame
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDFrame.h |
| Include | #include "ChaosDebugDraw/ChaosDDFrame.h" |
Syntax
class FChaosDDFrame : public TSharedFromThis< FChaosDDFrame >
Remarks
A single frame of debug draw data
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | CommandBudget | ||
| int32 | CommandCost | ||
| TArray< FChaosDDCommand > | Commands | Debug draw commands. | |
| FCriticalSection | CommandsCS | ||
| FSphere3d | DrawRegion | ||
| double | Dt | ||
| int64 | FrameIndex | ||
| TArray< Chaos::FLatentDrawCommand > | LatentCommands | Legacy debug draw commands (see FDebugDrawQueue) | |
| double | Time | ||
| FChaosDDTimelineWeakPtr | Timeline |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChaosDDFrame
(
FChaosDDFrame&& Other |
|||
FChaosDDFrame
(
const FChaosDDTimelineWeakPtr& InTimeline, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | BeginWrite () |
Used by the global frame to prevent render while queuing commands. | |
| void | EndWrite () |
Used by the global frame to prevent render while queuing commands. | |
| void | EnqueueCommand
(
FChaosDDCommand&& InCommand |
||
| void | EnqueueLatentCommand
(
const Chaos::FLatentDrawCommand& InCommand |
||
| FChaosDDFramePtr | ExtractFrame () |
Used by the global frame to extract all debug draw commands so far into a new frame for rendering. | |
| int32 | |||
| int32 | |||
| const FSphere3d & | |||
| double | GetDt () |
||
| int64 | |||
| int32 | |||
| int32 | |||
| double | GetTime () |
||
| FChaosDDTimelinePtr | GetTimeline () |
||
| bool | IsInDrawRegion
(
const FSphere3d& InSphere |
||
| bool | IsInDrawRegion
(
const FVector& InPos |
||
| bool | IsInDrawRegion
(
const FBox3d& InBox |
||
| void | SetCommandBudget
(
int32 InCommandBudget |
||
| void | SetDrawRegion
(
const FSphere3d& InRegion |
||
| void | VisitCommands
(
const VisitorType& Visitor |
VisitorType = void(const FChaosDDCommand& Command) | |
| void | VisitLatentCommands
(
const VisitorType& Visitor |
VisitorType = void(const Chaos::FLatentDrawCommand& Command) | |
| bool |