W3cubDocs

/Godot 2.1

Slider

Inherits: Range < Control < CanvasItem < Node < Object

Inherited By: HSlider, VSlider

Category: Core

Brief Description

Base class for GUI Sliders.

Member Functions

int get_ticks ( ) const
bool get_ticks_on_borders ( ) const
void set_ticks ( int count )
void set_ticks_on_borders ( bool ticks_on_border )

Description

Base class for GUI Sliders.

Member Function Description

int get_ticks ( ) const

Return amounts of ticks to display on slider.

bool get_ticks_on_borders ( ) const

Return true if ticks are visible on borders.

void set_ticks ( int count )

Set amount of ticks to display in slider.

void set_ticks_on_borders ( bool ticks_on_border )

Set true if ticks are visible on borders.

© 2014–2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/2.1/classes/class_slider.html