Menu
Lumberyard
Legacy Reference

UIe Text Component Nodes

Flow Graph is deprecated and will be removed in a future version of Lumberyard. Learn about Script Canvas, Lumberyard's new visual scripting environment.

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

Use the following flow graph nodes to perform actions on the text component.

UIe:Text:GetColor Node

Gets the color to draw the text string.

Node Inputs

Activate

Updates the outputs.

ElementName

Name of the element.

Node Outputs

Color

The RGB value (0 – 255 each for R, G, and B) of the element identified by ElementName.

Alpha

The alpha value (0 – 255) of the element identified by ElementName.

UIe:Text:SetColor Node

Sets the color to draw the text string.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Color

The RGB value (0 – 255 each for R, G, and B) of the element identified by ElementName.

Alpha

The alpha value (0 – 255) of the element identified by ElementName.

Node Output

Done

Sends a signal when the node's action is finished.

UIe:Text:GetFont Node

Gets the path to the font.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Node Output

Font

The path to the font used by the element.

UIe:Text:SetFontNode

Sets the path to the font.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Font

The path to the font used by the element identified by ElementName.

Node Output

Done

Sends a signal when the node's action is finished.

UIe:Text:GetFontSize Node

Gets the font size in points.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Node Output

FontSize

The font size of the element identified by ElementName.

UIe:Text:SetFontSize Node

Sets the font size in points.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

FontSize

The font size of the element identified by ElementName.

Node Output

Done

Sends a signal when the node's action is finished.

UIe:Text:GetOverflowMode Node

Gets the overflow behavior of the text.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Node Output

OverflowMode

An integer representing how overflow text is handled.

Valid values: 0 = Overflow text | 1 = Clip text

UIe:Text:SetOverflowModeNode

Sets the overflow behavior of the text.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

OverflowMode

An integer representing how overflow text is handled.

Valid values: 0 = Overflow text | 1 = Clip text

Node Output

Done

Sends a signal when the node's action is finished.

UIe:Text:GetText Node

Gets the text string that the element displays.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Node Output

Value

The text string being displayed by the element identified by ElementName.

UIe:Text:SetText Node

Sets the text string being displayed by the element.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Value

The text string being displayed by the element identified by ElementName.

Node Output

Done

Sends a signal when the node's action is finished.

UIe:Text:GetWrapText Node

Gets whether text is wrapped.

Node Inputs

Activate

Updates the output.

ElementName

Name of the element.

Node Output

WrapTextSetting

An integer representing how long text lines are handled.

Valid values: 0 = No wrap | 1 = Wrap

UIe:Text:SetWrapText Node

Gets whether text is wrapped.

Node Inputs

Activate

Updates the outputs.

ElementName

Name of the element.

WrapTextSetting

An integer representing how long text lines are handled.

Valid values: 0 = No wrap | 1 = Wrap

Node Output

Done

Sends a signal when the node's action is finished.