This contains the source code documentation of the class DialogicNode_DialogText
.
DialogicNode_DialogText
Inherits: RichTextLabel
Dialogic node that can reveal text at a given (changeable speed).
Properties
Name | Type | Default |
---|---|---|
active_speed | float | 0.01 |
alignment | int | 0 |
base_visible_characters | int | 0 |
enabled | bool | true |
hide_when_empty | bool | false |
revealing | bool | false |
speed_counter | float | 0.0 |
start_hidden | bool | true |
textbox_root | Node |
Methods
Returns | Method |
---|---|
void | continue_reveal ( ) |
void | finish_text ( ) |
void | on_gui_input ( event : InputEvent ) |
void | reveal_text ( _text : String, keep_previous : bool = false ) |
void | set_speed ( delay_per_character : float ) |
Constants
No description available.
No description available.
No description available.
Signals
signal continued_revealing_text ( new_character
: String )
No description available.
signal finished_revealing_text ( )
No description available.
signal started_revealing_text ( )
No description available.
Property Descriptions
No description available.
No description available.
var base_visible_characters = 0
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
Method Descriptions
func continue_reveal ( ) ⇒ void
Reveals one additional character.
Reveals the entire text instantly.
func on_gui_input ( event
: InputEvent ) ⇒ void
Handle mouse input
func reveal_text ( _text
: String, keep_previous
: bool = false
) ⇒ void
No description available.
func set_speed ( delay_per_character
: float ) ⇒ void
No description available.