Orrery Terrain · OrreryTerrainCore module · struct
Native::
FSculptPatch
ExperimentalThe sculpt layer's state after an undo or redo, replicated as tiles, never re-derived.
Declaration
struct FSculptPatch- Header
#include "Native/SculptCommand.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
A replica cannot replay "undo stroke S": the before-image ring is the authority's and is not in a join snapshot (the ring lives on the server; an undo's resulting tiles replicate). Tier 1, plain data.
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
Version | uint16_ | k | — |
Kind | ESculpt | ESculpt | UndoPatch or RedoPatch. |
Stroke | FStroke | 0 | The stroke undone or redone, in the authority's numbering. |
Tiles | std:: | — | Each touched tile's sculpt after the operation as its canonical code with its summary, and its channel values as predictive run lengths; an absent code resets the tile to Pristine. |