Orbdale Terrain · OrbdaleTerrain module · function
OrbdaleTerrainQuality::
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 (UOrbdaleTerrainSettings reads the old key when the new one is absent).
Declaration
bool ModeFromLegacy(const FString& Legacy, EOrbdaleTerrainQualityMode& Out);- Header
#include "OrbdaleTerrainQuality.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Legacy | const FString& | — | The stored name, with or without the |
Out | EOrbdale | — | Receives the mode. |
Returns
False when Legacy names no mode of the three-profile scheme; Out is untouched.