Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainBrushToolComponent::
StampAt
BlueprintStamp the brush once at a place, as a one-dab stroke (one undo).
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Tool|Brush")
EOrreryTerrainSculptResult StampAt(FVector Location, float Angle, float Radius = 0.f);Blueprint Stamp At
The graph as text
- Stamp At (function call; Target is Orrery Terrain Brush Tool Component)
- In Target (self object): self
- In Location (Vector): (0.0, 0.0, 0.0)
- In Angle (Float): 0.0
- In Radius (Float): 0.0
- Out Return Value (EOrreryTerrainSculptResult): not connected
- Header
#include "Tools/OrreryTerrainBrushToolComponent.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread, local player only. (the rule of UOrreryTerrainBrushToolComponent)
- Blueprint
- Stamp At, in Orrery › Terrain › Tool › Brush
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Location | FVector | — | World cm; XY matter. |
Angle | float | — | The mask angle, degrees from +X toward +Y; no rotation mode applies to a stamp. |
Radius | float | 0.f | World cm; 0 keeps the brush radius. |
Returns
The sculpt result: Applied or NoChange; Pending over ground still loading (the stamp is dropped: use Stamp Terrain (Async) for slow ground); Refused when the terrain does not hold the mask or the stamp is over the limits.