Orbdale Terrain · OrbdaleTerrain module · member function
UOrbdaleTerrainSubsystem::
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 "OrbdaleTerrainSubsystem.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");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 UOrbdaleTerrainSubsystem)
Description
A replica refuses local strokes, CommitPlate, CommitFeature, RemoveFeature, ApplyUndo, loads and provider commits (EOrbdaleTerrainEditAccess::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.