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

An inline image to be displayed within the text. More...

#include <UiTextComponent.h>

Public Types

enum  VAlign { Baseline , Top , Center , Bottom }
 

Public Member Functions

 InlineImage (const AZStd::string &texturePathname, float height, float scale, VAlign vAlign, float yOffset, float leftPadding, float rightPadding)
 
bool OnAtlasLoaded (const TextureAtlasNamespace::TextureAtlas *atlas)
 
bool OnAtlasUnloaded (const TextureAtlasNamespace::TextureAtlas *atlas)
 

Public Attributes

AZ::Data::Instance< AZ::RPI::Image > m_texture
 
AZ::Vector2 m_size
 
VAlign m_vAlign
 
float m_yOffset
 
float m_leftPadding
 
float m_rightPadding
 
AZStd::string m_filepath
 
const TextureAtlasNamespace::TextureAtlas * m_atlas
 
TextureAtlasNamespace::AtlasCoordinates m_coordinates
 

Detailed Description

An inline image to be displayed within the text.


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