Orbdale Terrain · OrbdaleTerrain module · member function
UOrbdaleTerrainBrushToolComponent::
SetToolActive
BlueprintTurn the tool on or off.
Declaration
UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Tool")
void SetToolActive(bool bActive);Blueprint Set Tool Active
The graph as text
- Set Tool Active (function call; Target is Orbdale Terrain Brush Tool Component)
- In Target (self object): self
- In Active (Boolean): false
- Header
#include "Tools/OrbdaleTerrainBrushToolComponent.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread, local player only. (the rule of UOrbdaleTerrainBrushToolComponent)
- Blueprint
- Set Tool Active, in Orbdale › Terrain › Tool
Description
On: finds or adds the sculpt component, adds the mapping context to the local player, binds the actions and starts drawing. Off: ends an open stroke and undoes all of that.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
bActive | bool | — | — |