MinMaxSliderAttributeclass

Displays a Vector2 as a two-handle slider between two numeric fields on one row, with x as the minimum and y as the maximum. Can be used on any Vector2 property or field. Numeric entry can exceed the slider limits, like `Sandbox.RangeAttribute`.

object→RangeAttribute→MinMaxSliderAttribute
Namespace
Sandbox
Assembly
Sandbox.System
Declaration
public sealed class Sandbox.MinMaxSliderAttribute : Sandbox.RangeAttribute

Constructors1

Showing 1 constructors

public MinMaxSliderAttribute(float min, float max)PUBLICCONSTRUCTOR

Sets the lower and upper limits of the slider.

ParameterTypeDescription
minfloat—
maxfloat—

On this page