Navigation
API > API/Runtime > API/Runtime/Chaos
Initializes the FChaosDDContext for a thread that owns a timeline
This starts a new frame (debug draw buffer) and sets up the FChaosDDContext for this thread. The active context should be accessed via FChaosDDContext::GetWriter(). FChaosDDTimelineContext is not directly used other than to instantiate.
| Name | FChaosDDTimelineContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDContext.h |
| Include Path | #include "ChaosDebugDraw/ChaosDDContext.h" |
Syntax
class FChaosDDTimelineContext
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInContext | bool | ChaosDebugDraw/ChaosDDContext.h | ||
| PreviousFrame | FChaosDDFramePtr | ChaosDebugDraw/ChaosDDContext.h | ||
| Timeline | FChaosDDTimelinePtr | ChaosDebugDraw/ChaosDDContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginFrame
(
const FChaosDDTimelinePtr& InTimeline, |
ChaosDebugDraw/ChaosDDContext.h | ||
void EndFrame() |
ChaosDebugDraw/ChaosDDContext.h |