C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

TextElement::GetText

Defined in:  C4Interface.h
Returns the text stored in a text element.
Prototype

const char *GetText(voidconst;

Description
The GetText function returns a pointer to the text stored in a text element. The return value is nullptr if no text has been assigned to the element yet.
See Also
TextElement::SetText