Orbdale Terrain · OrbdaleTerrainEditor module · member function
UOrbdaleTerrainBrushTool::
CanPaint
Editor onlyWhether the project's author limits let a paint tool write what Paint names (holes, the ground class, a layer the layer table has).
Declaration
static bool CanPaint(const UOrbdaleTerrainPaintProperties* Paint, bool bInvert, FText& OutWhyNot);- Header
#include "Tools/OrbdaleTerrainBrushTool.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread, editor only. (the rule of UOrbdaleTerrainBrushTool)
Description
A height tool (Paint null) may always stroke.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Paint | const UOrbdale | — | The paint settings of a paint tool; null for a height tool. |
bInvert | bool | — | Shift is down: a Holes stroke fills, which paints the fill class. |
OutWhyNot | FText& | — | Why not, for the HUD or a script. |