UExperimentSettingsSubsystem¶
Game instance subsystem that owns the experiment settings for a session.
Syntax¶
Remarks¶
Created automatically alongside the game instance. On Initialize it creates the UExperimentSettings object and loads it from Config/ExperimentSettings.ini (and the -experiment-settings= command-line override). Consumers fetch settings through GetSettings() , or GetExperimentSettings() from Blueprint. UCLASS
Inheritance Hierarchy¶
UGameInstanceSubsystem → UExperimentSettingsSubsystem
Methods¶
| Method | Signature | Description | Blueprint |
|---|---|---|---|
| Deinitialize | void UExperimentSettingsSubsystem::Deinitialize() override |
Called by Unreal when the subsystem is destroyed at session end. | |
| GetExperimentSettings | UExperimentSettings * UExperimentSettingsSubsystem::GetExperimentSettings() |
Returns a pointer to the current Experiment settings for Blueprint access. | yes |
| GetSettings | UExperimentSettings & UExperimentSettingsSubsystem::GetSettings() |
Returns a reference to the current Experiment settings object. | |
| HasResolutionBeenSet | bool UExperimentSettingsSubsystem::HasResolutionBeenSet() const |
Returns whether the display resolution has already been applied this session. | |
| Initialize | void UExperimentSettingsSubsystem::Initialize(FSubsystemCollectionBase &Collection) override |
Called by Unreal when the subsystem is created. | |
| SaveSubjectStateFile | virtual void UExperimentSettingsSubsystem::SaveSubjectStateFile() |
Called during Deinitialize at the end of a session. | |
| UpdateResolutionHasBeenSet | void UExperimentSettingsSubsystem::UpdateResolutionHasBeenSet() |
Records that the display resolution has been applied for this session. |