Open 3D Engine LyShine Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiClickableTextInterface::ClickableTextRect Struct Reference

Defines an area of interaction for clickable text, along with metadata. More...

#include <UiTextBus.h>

Public Attributes

UiTransformInterface::Rect rect
 "Click area" for text.
 
AZStd::string action
 "action" string from markup.
 
AZStd::string data
 "data" string from markup.
 
int id
 

Detailed Description

Defines an area of interaction for clickable text, along with metadata.

Member Data Documentation

◆ id

int UiClickableTextInterface::ClickableTextRect::id

Identifier that uniquely identifies clickable text from a single anchor tag. The clickable text from markup can be word-wrapped to subsequent lines, in which case the identifier will identify all clickable text coming from a single anchor tag. This allows word-wrapped clickable text to be treated as a single clickable link, especially useful for hover/color styling.


The documentation for this struct was generated from the following file: