Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UNetObjectFactory
Description
Fetch world information about a replicated object so it can be updated in the network engine. Only called for root objects.
| Name | GetWorldInfo |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/NetObjectFactory.h |
| Include Path | #include "Iris/ReplicationSystem/NetObjectFactory.h" |
virtual TOptional < FWorldInfoData > GetWorldInfo
(
const FWorldInfoContext & Context
) const
The object's world info, or NullOpt if there is none.
Parameters
| Name | Remarks |
|---|---|
| Context | Gives access to the replicated object and which specific world information needs to be updated. |