Navigation
API > API/Runtime > API/Runtime/Chaos
Used to write to a debug draw frame. Currently this writes to the Frame's draw buffer and holds a lock preventing the frame from being Ended. Eventually this will be a per-thread buffer to avoid the need for locks.
| Name | FChaosDDFrameWriter |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDFrame.h |
| Include Path | #include "ChaosDebugDraw/ChaosDDFrame.h" |
Syntax
class FChaosDDFrameWriter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosDDFrameWriter
(
const FChaosDDFramePtr& InFrame |
ChaosDebugDraw/ChaosDDFrame.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FChaosDDFrameWriter() |
ChaosDebugDraw/ChaosDDFrame.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Frame | FChaosDDFramePtr | ChaosDebugDraw/ChaosDDFrame.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddToCost
(
int32 InCost |
ChaosDebugDraw/ChaosDDFrame.h | ||
void EnqueueCommand
(
FChaosDDCommand&& InCommand |
ChaosDebugDraw/ChaosDDFrame.h | ||
void EnqueueLatentCommand
(
const Chaos::FLatentDrawCommand& InCommand |
ChaosDebugDraw/ChaosDDFrame.h | ||
FSphere3d GetDrawRegion() |
ChaosDebugDraw/ChaosDDFrame.h | ||
bool IsInDrawRegion
(
const FVector& InPos |
ChaosDebugDraw/ChaosDDFrame.h | ||
bool IsInDrawRegion
(
const FSphere3d& InSphere |
ChaosDebugDraw/ChaosDDFrame.h | ||
bool IsInDrawRegion
(
const FBox3d& InBox |
ChaosDebugDraw/ChaosDDFrame.h | ||
bool TryEnqueueCommand
(
int32 InCost, |
ChaosDebugDraw/ChaosDDFrame.h |