Synced
EditorSettingObject.GetAsSingle
Section titled “EditorSettingObject.GetAsSingle”
- Gets a single-precision property, or a fallback when the property is absent.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Settings
Declaration
Section titled “Declaration”public float Inno.Editor.Settings.EditorSettingObject.GetAsSingle(string name, float defaultValue = 0)Parameters
Section titled “Parameters”Parameter name: The stable property name.
Parameter defaultValue: The value returned when the property is absent.
Returns
Section titled “Returns”The stored number or defaultValue.