Orrery Terrain · OrreryTerrain module · delegate
FOnOrreryTerrainSculptRecordBP
A sculpt record the authority applied, as bytes for the game's replication (a command or an undo/redo patch).
Declaration
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnOrreryTerrainSculptRecordBP, const TArray<uint8>&, RecordBytes);- Header
#include "OrreryTerrainSculptTypes.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread, after the record's publish.
Description
Game thread, after the record's publish. Bind it to a multicast RPC; a replica hands the bytes to UOrreryTerrainSubsystem::ApplySculptRecord.
Parameters
| Name | Type | Meaning |
|---|---|---|
RecordBytes | const TArray< | — |
A dynamic delegate: Blueprint can bind it. Multicast: any number of listeners.