Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · function

OrreryTerrainBrushPalette::

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

UOrreryTerrainBrushAsset* ImportSelectedTexture(const FImportOptions& Options, FString& OutWhy);
Header
#include "Tools/OrreryTerrainBrushPalette.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); 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).