Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainEditorLibrary::
BakeAuthoring
Editor onlyBlueprintBake World's terrain, as Manage, Bake does without its dialog (UOrreryTerrainBake::BakeAuthoring).
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor", meta=(="Options"))
static FOrreryTerrainBakeReport BakeAuthoring(UWorld* World, const FOrreryTerrainBakeOptions& Options);Blueprint Bake Authoring
The graph as text
- Bake Authoring (function call)
- In World (World object): None
- In Options (OrreryTerrainBakeOptions): not connected
- Out Return Value (OrreryTerrainBakeReport): not connected
- Header
#include "OrreryTerrainEditorLibrary.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.
- Thread
- Game thread, editor only. (the rule of UOrreryTerrainEditorLibrary)
- Blueprint
- Bake Authoring, in Orrery › Terrain › Editor
Description
The map must be saved.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
World | UWorld* | — | — |
Options | const FOrrery | — | — |
Returns
What was made: Error is empty on success (bBaked false then means there was nothing to bake), and says why otherwise. Returned whole, so Python sees the refusal too.