Class SliderComponentShape | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SliderComponentShape

    Inheritance
    System.Object
    SliderComponentShape
    PaddleSliderValueIndicatorShape
    RoundSliderOverlayShape
    RoundSliderThumbShape
    Namespace: Unity.UIWidgets.material
    Syntax
    public abstract class SliderComponentShape

    Constructors

    SliderComponentShape()

    Declaration
    public SliderComponentShape()

    Fields

    noOverlay

    Declaration
    public static readonly SliderComponentShape noOverlay
    Field Value
    Type Description
    SliderComponentShape

    noThumb

    Declaration
    public static readonly SliderComponentShape noThumb
    Field Value
    Type Description
    SliderComponentShape

    Methods

    getPreferredSize(Nullable<Boolean>, Nullable<Boolean>)

    Declaration
    public abstract Size getPreferredSize(bool? isEnabled, bool? isDiscrete)
    Parameters
    Type Name Description
    System.Nullable<System.Boolean> isEnabled
    System.Nullable<System.Boolean> isDiscrete
    Returns
    Type Description
    Size

    paint(PaintingContext, Offset, Animation<Single>, Animation<Single>, Nullable<Boolean>, TextPainter, RenderBox, SliderThemeData, Nullable<Single>)

    Declaration
    public abstract void paint(PaintingContext context, Offset center, Animation<float> activationAnimation = null, Animation<float> enableAnimation = null, bool? isDiscrete = default(bool? ), TextPainter labelPainter = null, RenderBox parentBox = null, SliderThemeData sliderTheme = null, float? value = default(float? ))
    Parameters
    Type Name Description
    PaintingContext context
    Offset center
    Animation<System.Single> activationAnimation
    Animation<System.Single> enableAnimation
    System.Nullable<System.Boolean> isDiscrete
    TextPainter labelPainter
    RenderBox parentBox
    SliderThemeData sliderTheme
    System.Nullable<System.Single> value
    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