Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · member function

UOrbdaleTerrainBrushToolComponent::

SetToolActive

Blueprint

Turn the tool on or off.

Declaration

UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Tool")
void SetToolActive(bool bActive);
Blueprint Set Tool Active
The graph as text
  1. 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

NameTypeDefaultMeaning
bActivebool——