Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization > API/Runtime/Core/Serialization/FCbPackage > API/Runtime/Core/Serialization/FCbPackage/SetObject
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryPackage.h |
| Include | #include "Serialization/CompactBinaryPackage.h" |
void SetObject
&40;
FCbObject InObject,
const FIoHash & InObjectHash
&41;
Remarks
Set the root object without gathering attachments.
Parameters
| Name | Description |
|---|---|
| InObject | The root object, which will be cloned unless it is owned. |
| InObjectHash | The hash of the object, which must match to avoid validation errors. |