Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UReplicationSystem
Description
Sets a fixed priority for a replicated object which will be used until the next call to SetStaticPriority or SetPrioritizer. An object which never gets a call to either SetPrioritizer or SetStaticPriority will have a priority of 1.0.
| Name | SetStaticPriority |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/ReplicationSystem.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationSystem.h" |
| Source | /Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/ReplicationSystem/ReplicationSystem.cpp |
void SetStaticPriority
(
FNetRefHandle Handle,
float Priority
)
Parameters
| Name | Remarks |
|---|---|
| Handle | Which object to set the priority for. |
| Priority | A value >= 0. 1.0 means the object will be considered for replication every frame, if it has updated replicated properties. |