Orrery Terrain · OrreryTerrainEditor module · class
UOrreryTerrainHeightmapFactory
ExperimentalEditor onlyCreate a terrain tile store from a 16-bit PNG or RAW16 heightmap, picked from the Content Browser's Add menu.
Declaration
UCLASS()
class UOrreryTerrainHeightmapFactory : public UFactory- Header
#include "Factories/OrreryTerrainFactories.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Game thread, editor only.
- Derives from
UFactory
Description
Not an import factory on purpose: a PNG dropped into the browser stays a texture. ConfigureProperties opens a file picker and, when no sidecar gives the scale and extent, the import dialog; FactoryCreateNew runs UOrreryTerrainHeightmapImport.
Note.
Game thread, editor only. Tier 3.
Functions
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
Source | FString | — | The heightmap to import; ConfigureProperties sets it, tests and scripts set it directly. |
Settings | TObject | — | The scale and extent used when no sidecar sits beside SourceFile; ConfigureProperties fills it. |
b | bool | true | Ask for the file and the settings. false in tests, which set SourceFile and Settings. |