Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainSubsystem::
IsReplica
Whether this world applies the authority's records, every edit kind, as a replica: by default a client world (NM_Client).
Declaration
bool IsReplica() const;- Header
#include "OrreryTerrainSubsystem.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Every member function is game thread unless it says otherwise. (the rule of UOrreryTerrainSubsystem)
Description
A replica refuses local strokes, CommitPlate, CommitFeature, RemoveFeature, ApplyUndo, loads and provider commits (EOrreryTerrainEditAccess::Replica); EvaluateFeature, a preview, stays local. The role is read when the terrain is created: a replica keeps no undo ring and registers a read-only ground provider.