Orrery Terrain · OrreryTerrainCore module · function
Native::
FeatureOpsOf
ExperimentalThe FeatureOps record of one stack change, as the authority's commit listener hands it out (FTerrainWorld::SetCommitListener): each op with its id, anchor and feature bytes (EncodeFeature), and the next feature id.
Declaration
void FeatureOpsOf(const FStackCommit& Commit, FFeatureOpsRecord& Out);- Header
#include "Native/Net/NetReplica.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
Description
EncodeFeatureOps then writes it.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Commit | const FStack | — | The listener's argument. |
Out | FFeature | — | Overwritten. |
Note.
Allocates the feature bytes: once per commit, never per tick.