Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainRenderer module · member function

FTerrainGrassLoader::

Request

Experimental

Start loading the layer set's grass types, replacing (cancelling) any earlier request.

Declaration

bool Request(const UOrreryTerrainLayerSet* Set, FSimpleDelegate OnLoaded);
Header
#include "Grass/TerrainGrassVarieties.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainRenderer"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Game thread. (the rule of FTerrainGrassLoader)

Parameters

NameTypeDefaultMeaning
Setconst UOrreryTerrainLayerSet*—

The layer set; its soft pointers are copied, it is not retained.

OnLoadedFSimpleDelegate—

Called once on the game thread when every type has loaded, or failed to. Not called after Cancel or destruction. Called at once, before this returns, when there is nothing to load.

Returns

False, and OnLoaded is not called, when this process cannot render (dedicated server, commandlet, null RHI: FApp::CanEverRender() is false) or Set is null.