Skip to content

SpeechBubbles ​

Inherits: ChatViewer < HUDUIElement < Control

Shows what is said and described over the head of the one who says it: a text in the world that stays for a few seconds. It is a viewer of the Say, Yell and Emote channels; a line that has a speaker and a bubble time (SpeechLine.bubble_seconds) gets a bubble. Put it anywhere in the HUD (it has nothing to draw itself). Style it with the exports.

Properties ​

floatheight2.8
inttext_size36
intoutline_size12

Methods ​

Label3Dshow_bubble( speaker: Node3D, text: String, color: Color, seconds: float )

Property descriptions ​

float height = 2.8 ​

Height of the bubble over the origin of the speaker, in metres

int text_size = 36 ​

The size of the text

int outline_size = 12 ​

The size of the outline of the text

Method descriptions ​

Label3D show_bubble( speaker: Node3D, text: String, color: Color, seconds: float ) ​

Puts a bubble over a node for some seconds