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

    Class SliderTrackShape

    Inheritance
    System.Object
    SliderTrackShape
    RectangularSliderTrackShape
    Namespace: Unity.UIWidgets.material
    Syntax
    public abstract class SliderTrackShape

    Constructors

    SliderTrackShape()

    Declaration
    public SliderTrackShape()

    Methods

    getPreferredRect(RenderBox, Offset, SliderThemeData, Nullable<Boolean>, Nullable<Boolean>)

    Declaration
    public abstract Rect getPreferredRect(RenderBox parentBox = null, Offset offset = null, SliderThemeData sliderTheme = null, bool? isEnabled = default(bool? ), bool? isDiscrete = default(bool? ))
    Parameters
    Type Name Description
    RenderBox parentBox
    Offset offset
    SliderThemeData sliderTheme
    System.Nullable<System.Boolean> isEnabled
    System.Nullable<System.Boolean> isDiscrete
    Returns
    Type Description
    Rect

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

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