Table of Contents

Class OptionSlider

Namespace
Squiggles.Core.Scenes.UI.Menus.Gameplay
Assembly
SquigglesCommon4X.dll

An OptionBase which stores a number (System.Single). It displays as a slider in menus and as such requires several values used by Godot.Range

[GlobalClass]
[ScriptPath("res://Core/Scenes/UI/Menus/OptionsTabs/GameplayTabResources/OptionSlider.cs")]
public class OptionSlider : OptionBase, IDisposable
Inheritance
GodotObject
RefCounted
Resource
OptionSlider
Implements
Inherited Members
Resource._GetRid()
Resource.GetRid()
Resource.GetLocalScene()
Resource.SetupLocalToScene()
Resource.EmitChanged()
Resource.ResourceLocalToScene
Resource.ResourcePath
Resource.ResourceName
Resource.Changed
Resource.SetupLocalToSceneRequested
RefCounted.InitRef()
RefCounted.Reference()
RefCounted.Unreference()
RefCounted.GetReferenceCount()
GodotObject.NotificationPostinitialize
GodotObject.NotificationPredelete
GodotObject.NativeInstance
GodotObject.ScriptChanged
GodotObject.PropertyListChanged

Fields

AllowGreater

The Range option which disables the MaxValue allowing the stored value to be infinitely greater than what would be allowed otherwise.

[Export(PropertyHint.None, "")]
public bool AllowGreater

Field Value

bool

AllowLesser

The Range option which disables the MinValue allowing the stored value to be infinitely lesser than what would be allowed otherwise.

[Export(PropertyHint.None, "")]
public bool AllowLesser

Field Value

bool

DefaultValue

The default value of this option. Must be within the bounds specified otherwise

[Export(PropertyHint.None, "")]
public float DefaultValue

Field Value

float

MaxValue

The maximum value that this value is allowed to be

[Export(PropertyHint.None, "")]
public float MaxValue

Field Value

float

MinValue

The minimum value that this option is allowed to be

[Export(PropertyHint.None, "")]
public float MinValue

Field Value

float

StepValue

The amont to step by when using the slider. Set to 1.0 to effectively make this an integer. By default it is quite small to allow floats to be very granular

[Export(PropertyHint.None, "")]
public float StepValue

Field Value

float