Navigation
API > API/Runtime > API/Runtime/Chaos
Memory writer that combines CVD name-table FName serialization with object-reference skipping.
- FNames are written as uint64 name table IDs (same as FChaosVDMemoryWriter).
- UScriptStruct object references are preserved as their full path string so they can be resolved on the reading side via FindObject. This allows FInstancedStruct and similar struct-typed UPROPERTY members to round-trip correctly.
- All other UObject and FWeakObjectPtr references are silently dropped (left null on read).
Intended for serializing arbitrary UStruct instances into CVD particle extra data.
| Name | FChaosVDStructCollectionMemoryWriter |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosVisualDebugger/ChaosVDStructCollectionMemWriterReader.h |
| Include Path | #include "ChaosVisualDebugger/ChaosVDStructCollectionMemWriterReader.h" |
Syntax
class FChaosVDStructCollectionMemoryWriter : public FMemoryWriter
Inheritance Hierarchy
- FArchiveState → FArchive → FMemoryArchive → TMemoryWriterBase → FMemoryWriter → FChaosVDStructCollectionMemoryWriter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosVDStructCollectionMemoryWriter
(
TArray< uint8 >& InBytes, |
ChaosVisualDebugger/ChaosVDStructCollectionMemWriterReader.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NameTableInstance | TSharedRef< FChaosVDSerializableNameTable > | ChaosVisualDebugger/ChaosVDStructCollectionMemWriterReader.h |