Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UReplicationSystem
Description
Enable or disable a replication condition for all connections. This will affect the replication of properties with conditions.
| Name | SetReplicationCondition |
| 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 |
bool SetReplicationCondition
(
FNetRefHandle Handle,
UE::Net::EReplicationCondition Condition,
bool bEnable
)
true if the condition was successfully set, false if not.
Parameters
| Name | Remarks |
|---|---|
| Handle | A valid handle to a replicated object. |
| Condition | The ReplicationCondition to modify. Only EReplicationCondition::ReplicatePhysics is supported. |
| bEnable | Whether the the condition should be enabled or disabled. |
See Also
-
SetReplicationConditionConnectionFilter