FGantrySettingEditState
StructGantrySettingsBlueprint-visible
Whether a setting can be seen and changed right now, and if not, why not.
Get it from a setting with Get Edit State when you draw the setting's row. It is worked out fresh each time, from the setting itself and then its conditions. Skip a row that is not visible, grey out a row that is not enabled, and show its disabled reasons.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
bVisible read/write | bool | True | Whether the setting is shown. Leave a hidden setting out of the page. |
bEnabled read/write | bool | True | Whether the setting can be changed. Show a disabled setting with its Disabled Reasons. |
bResettable read/write | bool | True | Whether Reset To Defaults resets this setting. |
DisabledReasons read/write | TArray<FText> | Why it cannot be changed, for the player. | |
DisabledOptions read/write | TArray<FString> | Option values that cannot be chosen right now. |
C++
Public C++ members that Blueprint does not see.
Hide
void
Hides the setting.
Disable
void
Disables the setting, saying why.