Skip to content

Struct FSFSettingOption

ClassList > FSFSettingOption

A struct representing a single discrete option in a list for a setting. More...

  • #include "Core/SFCoreTypes.h"

Public Attributes

Type Name
FText DisplayName
TObjectPtr< class USFSettingValue > Value

Detailed Description

A struct representing a single discrete option in a list for a setting (e.g. "High", "1920x1080", "Monitor 1"), with a localized display name and an associated value object of the abstract type USFSettingValue. This allows for great flexibility in defining what each option represents and how it behaves when selected.

This struct is used as the value for USFSettingDefinition_Discrete.

Note:

BlueprintType

Public Attributes Documentation

variable DisplayName

FText FSFSettingOption::DisplayName;

The player-facing name of the option.

Note:

EditAnywhere BlueprintReadWrite


variable Value

TObjectPtr<class USFSettingValue> FSFSettingOption::Value;

The value associated with this option, can be of any USFSettingValue-derived type.

Note:

EditAnywhere BlueprintReadWrite Instanced



The documentation for this class was generated from the following file Source/SettingsFramework/Public/Core/SFCoreTypes.h