TouchScreenButton
Inherits: Node2D < CanvasItem < Node < Object
Category: Core
Brief Description
Member Functions
String | get_action ( ) const |
Object | get_bitmask ( ) const |
Object | get_shape ( ) const |
Object | get_texture ( ) const |
Object | get_texture_pressed ( ) const |
int | get_visibility_mode ( ) const |
bool | is_passby_press_enabled ( ) const |
bool | is_pressed ( ) const |
bool | is_shape_centered ( ) const |
bool | is_shape_visible ( ) const |
void | set_action ( String action ) |
void | set_bitmask ( Object bitmask ) |
void | set_passby_press ( bool enabled ) |
void | set_shape ( Object shape ) |
void | set_shape_centered ( bool bool ) |
void | set_shape_visible ( bool bool ) |
void | set_texture ( Object texture ) |
void | set_texture_pressed ( Object texture_pressed ) |
void | set_visibility_mode ( int mode ) |
Signals
- pressed ( )
- released ( )
Member Function Description
String get_action ( ) const
Object get_bitmask ( ) const
Object get_shape ( ) const
Object get_texture ( ) const
Object get_texture_pressed ( ) const
int get_visibility_mode ( ) const
bool is_passby_press_enabled ( ) const
bool is_pressed ( ) const
bool is_shape_centered ( ) const
bool is_shape_visible ( ) const
void set_action ( String action )
void set_bitmask ( Object bitmask )
void set_passby_press ( bool enabled )
void set_shape ( Object shape )
void set_shape_centered ( bool bool )
void set_shape_visible ( bool bool )
void set_texture ( Object texture )
void set_texture_pressed ( Object texture_pressed )
void set_visibility_mode ( int mode )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_touchscreenbutton.html