Bitbybit Docs
    Preparing search index...

    Class SliderThumbDto (Inputs.BabylonGui)

    Feeds babylon.gui.slider.changeSliderThumb: the slider and the shape, color, width, clamping and visibility of its thumb.

    Index

    Constructors

    • Parameters

      • Optionalslider: Slider
      • OptionalisThumbCircle: boolean
      • OptionalthumbColor: string
      • OptionalthumbWidth: string | number
      • OptionalisThumbClamped: boolean
      • OptionaldisplayThumb: boolean

      Returns SliderThumbDto

    Properties

    slider: Slider

    The slider whose thumb is restyled in place

    undefined
    
    isThumbCircle: boolean

    When true, the thumb is round; when false, square

    false
    
    thumbColor: string

    CSS color of the thumb

    white
    
    thumbWidth?: string | number

    Width of the thumb as a pixel string or a fraction; left out, the engine chooses

    undefined
    

    true

    isThumbClamped: boolean

    When true, the thumb stays inside the track at the ends instead of overhanging it

    false
    
    displayThumb: boolean

    When true, the thumb is drawn; when false, only the track

    true