Click or drag to resize
Slider Constructor (UInt32, UInt32, Vector2, SliderSkin, Anchor, NullableVector2)
Create the slider.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Slider(
	uint min,
	uint max,
	Vector2 size,
	SliderSkin skin = SliderSkin.Default,
	Anchor anchor = Anchor.Auto,
	Nullable<Vector2> offset = null
)

Parameters

min
Type: SystemUInt32
Min value (inclusive).
max
Type: SystemUInt32
Max value (inclusive).
size
Type: Vector2
Slider size.
skin (Optional)
Type: GeonBit.UI.EntitiesSliderSkin
Slider skin (texture).
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Position anchor.
offset (Optional)
Type: SystemNullableVector2
Offset from anchor position.
See Also