Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainBrushToolComponent::

SetRotationMode

Blueprint

Set 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
  1. 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

NameTypeDefaultMeaning
ModeEOrreryTerrainMaskRotation—

Fixed, FollowStroke (the brush angle is an offset) or Random.

RandomRangefloat180.f

Random only: the dab angle is the brush angle plus or minus up to this many degrees.