Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainEditorLibrary::
TakeEditorShot
Editor onlyBlueprintWrite a PNG of the largest editor window after Delay_s, drawing the level viewports first.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor")
static bool TakeEditorShot(const FString& Path, float Delay_s = 0.5f);Blueprint Take Editor Shot
The graph as text
- Take Editor Shot (function call)
- In Path (String): empty
- In Delay S (Float): 0.5
- Out Return Value (Boolean): 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
- Take Editor Shot, in Orrery › Terrain › Editor
Description
Poll for the file: it is written on a later tick.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Path | const FString& | — | — |
Delay_s | float | 0.5f | — |
Returns
false without Slate (a commandlet, -nullrhi).