UGantrySettingCondition_WhenSetting
Hides or disables a setting while another setting has one of the listed values.
For example, disable Resolution while Window Mode has the value of its windowed fullscreen option. Turn on Unless Value to apply it while the other setting has none of the values instead.
- Inherits
UGantrySettingCondition
Properties
| Property | Type | Default | Description |
|---|---|---|---|
SettingId read-only | FName | None | The other setting's id. |
Values read-only | TArray<FString> | The values that make the condition hold: option values, not display names. Text compares without case, and numbers compare as numbers. "True" and "1" do not match each other, so for a toggle that may be backed by a console variable, list both. | |
bUnlessValue read-only | bool | False | Applies the condition while the other setting has none of Values, instead of one of them. |
Effect read-only | EGantrySettingConditionEffect | Disable | What happens while it holds. |
Reason read-only | FText | Why, for the player, when disabled. |
C++
Public C++ members that Blueprint does not see.
GatherEditState_Implementation
virtual void
Applies Effect while the other setting has one of Values (or none of them, with Unless Value).
GetDependencies
virtual void
Depends On, and the other setting.