Class Slider | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class Slider

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    Slider
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.material
    Syntax
    public class Slider : StatefulWidget

    Constructors

    Slider(Key, Nullable<Single>, ValueChanged<Single>, ValueChanged<Single>, ValueChanged<Single>, Single, Single, Nullable<Int32>, String, Color, Color)

    Declaration
    public Slider(Key key = null, float? value = default(float? ), ValueChanged<float> onChanged = null, ValueChanged<float> onChangeStart = null, ValueChanged<float> onChangeEnd = null, float min = 0F, float max = 1F, int? divisions = default(int? ), string label = null, Color activeColor = null, Color inactiveColor = null)
    Parameters
    Type Name Description
    Key key
    Nullable<Single> value
    ValueChanged<Single> onChanged
    ValueChanged<Single> onChangeStart
    ValueChanged<Single> onChangeEnd
    Single min
    Single max
    Nullable<Int32> divisions
    String label
    Color activeColor
    Color inactiveColor

    Fields

    activeColor

    Declaration
    public readonly Color activeColor
    Field Value
    Type Description
    Color

    divisions

    Declaration
    public readonly int? divisions
    Field Value
    Type Description
    Nullable<Int32>

    inactiveColor

    Declaration
    public readonly Color inactiveColor
    Field Value
    Type Description
    Color

    label

    Declaration
    public readonly string label
    Field Value
    Type Description
    String

    max

    Declaration
    public readonly float max
    Field Value
    Type Description
    Single

    min

    Declaration
    public readonly float min
    Field Value
    Type Description
    Single

    onChanged

    Declaration
    public readonly ValueChanged<float> onChanged
    Field Value
    Type Description
    ValueChanged<Single>

    onChangeEnd

    Declaration
    public readonly ValueChanged<float> onChangeEnd
    Field Value
    Type Description
    ValueChanged<Single>

    onChangeStart

    Declaration
    public readonly ValueChanged<float> onChangeStart
    Field Value
    Type Description
    ValueChanged<Single>

    value

    Declaration
    public readonly float value
    Field Value
    Type Description
    Single

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023