Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · class

UOrreryTerrainRebuildSplineFeatureAsync

Experimental

Rebuild a spline feature as soon as the ground under it is resident: the spline is sampled once, when the node starts; the node streams the footprint plus 300 m, tries every frame, and gives up at the timeout, as Commit Corridor (Async) does.

Declaration

UCLASS()
class UOrreryTerrainRebuildSplineFeatureAsync : public UOrreryTerrainAsyncBase
Header
#include "OrreryTerrainAsyncActions.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Blueprint
“Orrery Terrain Rebuild Spline Feature Async”, a Blueprint type

Description

On the authority it replaces the linked feature in place (or adds one) and records the link on the component. A refusal that waiting cannot fix (a read-only terrain, an editor world, a Baked or Copy component, a spline the kind refuses) fails at once. The component reports Pending meanwhile.

On a client under the built-in replication it asks the server to replace the linked feature (same id) and completes once the server's record has applied here; the server's edit policy judges the request, and the result carries no undo token. A client cannot add one: an unlinked component fails at once.

Functions

  • RebuildSplineFeatureAsyncBlueprintstatic

    Rebuild a spline feature once its ground is resident; on a client, ask the server to.

  • Beginprotected

    Called once at Activate, with the terrain, before the first Poll.

  • Pollprotected

    Called every frame while waiting.

  • Cleanupprotected

    Releases anything the node holds (invoker markers).

  • BroadcastFailedprotected

    Fires the node's OnFailed with Reason and the node's failure payload.

Properties

NameTypeDefaultMeaning
OnCompletedBlueprintAssignableFOrreryTerrainCommitDelegate—

Fires with the committed result (bOk true): the feature's id, and on the authority its undo token.

Reason is None.

OnFailedBlueprintAssignableFOrreryTerrainCommitDelegate—

Fires when the node gives up, with Reason; Result is refused (bOk false) and its Reason text says why when known.

Blueprint