Orrery Terrain · OrreryTerrainCore module · member function
Native::FSculptReplayer::
ApplyFor
ExperimentalApply one command as Author's: the authority's path with several players.
Declaration
ESculptApply ApplyFor(const FSculptCommand& Command, uint32_t Author);- Header
#include "Native/SculptReplay.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Game thread only, like every FTerrainWorld write. (the rule of FSculptReplayer)
Description
A BeginStroke opens Author's stroke (FTerrainWorld::BeginStrokeFor), so the world's per-author undo finds it; every other kind is Apply's. The caller records Author's End before Author's next Begin: a Begin while Author has a stroke open answers OutOfOrder and opens nothing.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Command | const FSculpt | — | The command to apply. |
Author | uint32_ | — | An |