Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainBrushToolComponent::
SetRotationMode
BlueprintSet how each dab turns the mask.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Tool|Brush")
void SetRotationMode(EOrreryTerrainMaskRotation Mode, float RandomRange = 180.f);Blueprint Set Rotation Mode
The graph as text
- Set Rotation Mode (function call; Target is Orrery Terrain Brush Tool Component)
- In Target (self object): self
- In Mode (EOrreryTerrainMaskRotation): Fixed
- In Random Range (Float): 180.0
- 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
- Set Rotation Mode, in Orrery › Terrain › Tool › Brush
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Mode | EOrrery | — | Fixed, FollowStroke (the brush angle is an offset) or Random. |
RandomRange | float | 180.f | Random only: the dab angle is the brush angle plus or minus up to this many degrees. |