Class USFSettingValue_Scalar
ClassList > USFSettingValue_Scalar
Setting value representing a numeric value (int/float). More...
#include "Core/SFSettingValue.h"
Inherits the following classes: USFSettingValue
Public Attributes
| Type | Name |
|---|---|
| float | Value = 0.0f |
Public Functions
| Type | Name |
|---|---|
| virtual void | DeserializeFromString (const FString & InString) override |
| virtual bool | Equals (const USFSettingValue * Other) override const |
| virtual FString | SerializeToString () override const |
Public Functions inherited from USFSettingValue
See USFSettingValue
| Type | Name |
|---|---|
| virtual void | DeserializeFromString (const FString & InString) |
| virtual USFSettingValue * | Duplicate (UObject * Outer) const |
| virtual bool | Equals (const USFSettingValue * Other) const |
| virtual FString | SerializeToString () const |
| virtual FString | ToString () const |
Detailed Description
Setting value representing a numeric value (int/float).
Blueprint display name: SF Scalar Value.
Public Attributes Documentation
variable Value
float USFSettingValue_Scalar::Value;
The underlying numeric value.
Note:
EditAnywhere BlueprintReadWrite
Public Functions Documentation
function DeserializeFromString
virtual void USFSettingValue_Scalar::DeserializeFromString (
const FString & InString
) override
Load value from string
Parameters:
InStringThe string to parse the value from, typically loaded from disk.
Implements USFSettingValue::DeserializeFromString
function Equals
virtual bool USFSettingValue_Scalar::Equals (
const USFSettingValue * Other
) override const
Checks equality with another value object.
Parameters:
OtherThe other value object to compare with.
Returns:
true if the two value objects are considered equal in terms of their underlying value, false otherwise.
Implements USFSettingValue::Equals
function SerializeToString
virtual FString USFSettingValue_Scalar::SerializeToString () override const
Convert current value to string for saving
Returns:
The string representation of the current value. Should be parseable by DeserializeFromString().
Implements USFSettingValue::SerializeToString
The documentation for this class was generated from the following file Source/SettingsFramework/Public/Core/SFSettingValue.h