Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UReplicationSystem
Description
Set view information for a connection. The views are used by some prioritizers, typically to make objects closer to any of the view positions higher priority and thus more likely to replicate on a given frame. The information will persist until the next call. This is normally handled by a NetDriver.
| Name | SetReplicationView |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationSystem.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationSystem.h" |
| Source | /Engine/Source/Runtime/Net/Iris/Private/Iris/ReplicationSystem/ReplicationSystem.cpp |
void SetReplicationView
(
uint32 ConnectionId,
const UE::Net::FReplicationView & View
)
Parameters
| Name | Remarks |
|---|---|
| ConnectionId | The ID of the connection to set the view information for. |
| View | The view information for the connection and its subconnections. |
See Also
- UNetDriver::UpdateReplicationViews