Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · function

OrreryTerrainQuality::

ModeFromLegacy

The profile source a project stored by earlier versions, under the key QualityProfile, read in the five-level scheme: Scalability, Low and Manual keep their meaning, Balanced becomes High and High becomes Cinematic, so a project keeps the far ring, sub-post detail and grass it had (UOrreryTerrainSettings reads the old key when the new one is absent).

Declaration

bool ModeFromLegacy(const FString& Legacy, EOrreryTerrainQualityMode& Out);
Header
#include "OrreryTerrainQuality.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.

Parameters

NameTypeDefaultMeaning
Legacyconst FString&—

The stored name, with or without the EOrreryTerrainQualityMode:: prefix, any case.

OutEOrreryTerrainQualityMode&—

Receives the mode.

Returns

False when Legacy names no mode of the three-profile scheme; Out is untouched.