Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · function

OrbdaleTerrainBrushPalette::

ImportSelectedTexture

Editor only

Import: bake a new brush asset of the selected texture beside it (BM_<Texture>, a unique name), dirty and not saved.

Declaration

UOrbdaleTerrainBrushAsset* ImportSelectedTexture(const FImportOptions& Options, FString& OutWhy);
Header
#include "Tools/OrbdaleTerrainBrushPalette.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.

Parameters

NameTypeDefaultMeaning
Optionsconst FImportOptions&——
OutWhyFString&——

Returns

The asset, or null with OutWhy set (nothing selected, a bake refused).