Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UNetObjectFactory
Description
Optional callback triggered when a subobject is about to destroyed for the owner root object managed by this factory. This callback is called on remotes only.
| Name | SubObjectDestroyedFromReplication |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetObjectFactory.h |
| Include Path | #include "Iris/ReplicationSystem/NetObjectFactory.h" |
virtual void SubObjectDestroyedFromReplication
(
const FDestroyedContext & Context
)
Parameters
| Name | Remarks |
|---|---|
| Context | Gives access to the subobject about to be destroyed and the root object that owns him. |