Menu
Lumberyard
Legacy Reference

UIe Image 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 image component.

UIe:Image:GetImageSource Node

Replaced by UIe:Image:GetSprite Node.

Retrieves the texture file path currently used by the specified image element.

Node Inputs

Activate

Updates the output.

ElementName

Name of the image element.

Node Outputs

Value

Outputs the file path of the image that is currently on the element.

UIe:Image:SetImageSource Node

Replaced by UIe:Image:SetSprite Node.

Changes the texture on the specified image element.

Node Inputs

Activate

Set the texture.

ElementName

Name of the image element.

ImagePath

File path of the texture to display.

Node Output

Done

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

UIe:Image:GetSprite Node

Gets the texture file path currently used by the specified image element.

Node Inputs

Activate

Updates the output.

ElementName

Name of the image element.

Node Output

Value

Outputs the file path of the image that is currently on the element.

UIe:Image:SetSprite Node

Sets the texture on the specified image element.

Node Inputs

Activate

Sets the texture.

ElementName

Name of the image element.

ImagePath

File path of the texture to display.

Node Output

Done

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

UIe:Image:GetImageType Node

Gets the type of the image. Affects how the texture or sprite is mapped to the image rectangle.

Node Inputs

Activate

Updates the output.

ElementName

Name of the image element.

Node Output

ImageType

An integer representing how the image is scaled and placed.

Valid values: 0 = Stretched | 1 = Sliced | 2 = Fixed | 3 = Tiled | 4 = Stretched to fit | 5 = Stretched to fill

UIe:Image:SetImageType Node

Sets the type of the image. Affects how the texture or sprite is mapped to the image rectangle.

Node Inputs

Activate

Updates the output.

ElementName

Name of the image element.

ImageType

An integer representing how the image is scaled and placed.

Valid values: 0 = Stretched | 1 = Sliced | 2 = Fixed | 3 = Tiled | 4 = Stretched to fit | 5 = Stretched to fill

Node Output

Done

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

UIe:Image:GetColor Node

Gets the color tint for the image.

Node Inputs

Activate

Updates the output.

ElementName

Name of the image element.

Node Outputs

Color

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

Alpha

The alpha value (0 – 255) of the element (ElementID).

UIe:Image:SetColor Node

Sets the color tint for the image.

Node Inputs

Activate

Updates the output.

ElementName

Name of the image element.

Color

The RGB value (0 – 255 each for R, G, and B).

Alpha

A floating-point alpha value (0 – 255).

Node Output

Done

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