Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainBrushToolComponent::

SetPaintLayer

Blueprint

Select the paint layer the Paint brush writes.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Tool")
bool SetPaintLayer(int32 Layer);
Blueprint Set Paint Layer
The graph as text
  1. Set Paint Layer (function call; Target is Orrery Terrain Brush Tool Component)
    • In Target (self object): self
    • In Layer (Integer): 0
    • Out Return Value (Boolean): 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
Set Paint Layer, in Orrery › Terrain › Tool

Parameters

NameTypeDefaultMeaning
Layerint32—

0 to the terrain's MaxPaintLayer.

Returns

false when the layer is out of range; nothing changed.