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 |
Defines an area of interaction for clickable text, along with metadata.
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.