Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainSplineFeatureComponent::
Rebuild
ExperimentalBlueprintCommit the feature from the spline as it is now: replaces the linked feature in place (same id), or adds one.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Experimental")
FOrreryTerrainCommitResult Rebuild();The graph as text
- Rebuild (function call; Target is Terrain Spline Feature)
- In Target (self object): self
- Out Return Value (OrreryTerrainCommitResult): not connected
- Header
#include "OrreryTerrainSplineFeatureComponent.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Game thread.
- Blueprint
- Rebuild, in Orrery › Terrain › Experimental
Description
Synchronous. Refused, with a reason and nothing changed, while the ground under it is not resident (the tiles stay requested and held for this component, so calling again on a later frame succeeds), on a client (use Rebuild Spline Feature (Async), which asks the server), on a read-only terrain, for a Baked or Copy component, and for a spline the kind refuses (a closed spline for a corridor, an open or self-intersecting one for a plate).
Returns
The commit's result: the feature id and an undo token, or the reason.
Game thread. In an editor world it goes through the terrain editor, when its spline support is loaded.