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 |
|---|---|---|
| enabled | bool | true |
| alignment | int | 0 |
| textbox_root | Node | |
| hide_when_empty | bool | false |
| start_hidden | bool | true |
| revealing | bool | false |
| base_visible_characters | int | 0 |
| active_speed | float | 0.01 |
| speed_counter | float | 0.0 |
Methods
| Returns | Method |
|---|---|
| void | reveal_text ( _text: String, keep_previous: bool = false ) |
| void | set_speed ( delay_per_character: float ) |
| void | continue_reveal ( ) |
| void | finish_text ( is_organic: bool = false ) |
| void | on_gui_input ( event: InputEvent ) |
| void | custom_fx_update ( ) |
| void | custom_fx_reset ( ) |
| void | custom_fx_skip ( ) |
Constants
No description available.
No description available.
No description available.
Signals
signal started_revealing_text ( )
No description available.
signal continued_revealing_text ( new_character: String )
No description available.
signal finished_revealing_text ( )
No description available.
Property Descriptions
No description available.
No description available.
No description available.
No description available.
No description available.
No description available.
var base_visible_characters = 0
No description available.
No description available.
No description available.
Method Descriptions
func reveal_text ( _text: String, keep_previous: bool = false ) ⇒ void
No description available.
func set_speed ( delay_per_character: float ) ⇒ void
No description available.
func continue_reveal ( ) ⇒ void
Reveals one additional character.
func finish_text ( is_organic: bool = false ) ⇒ void
Reveals the entire text instantly.
func on_gui_input ( event: InputEvent ) ⇒ void
Handle mouse input
func custom_fx_update ( ) ⇒ void
No description available.
func custom_fx_reset ( ) ⇒ void
No description available.
func custom_fx_skip ( ) ⇒ void
No description available.