Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainEditorLibrary::

NewTerrain

Editor onlyBlueprint

Create a terrain in World, or replace the source of its terrain, as Manage, New's Create Terrain button does: one undoable "New terrain" transaction.

Declaration

UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Editor")
static FOrbdaleTerrainEditorNewResult NewTerrain(UWorld* World, UOrbdaleTerrainNewTerrainProperties* Properties);
Blueprint New Terrain
The graph as text
  1. New Terrain (function call)
    • In World (World object): None
    • In Properties (OrbdaleTerrainNewTerrainProperties object): None
    • Out Return Value (OrbdaleTerrainEditorNewResult): not connected
Header
#include "OrbdaleTerrainEditorLibrary.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 UOrbdaleTerrainEditorLibrary)
Blueprint
New Terrain, in Orbdale › Terrain › Editor

Description

The source asset is left unsaved.

Parameters

NameTypeDefaultMeaning
WorldUWorld*—

The editor world to create the terrain in.

PropertiesUOrbdaleTerrainNewTerrainProperties*—

The fields of Manage, New (MakeNewTerrainProperties).

Returns

Whether a terrain was created or re-sourced, or the error; nothing changes on an error.