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