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.
IDraw2d::TextOptions Struct Reference

Struct used to pass additional text options - mostly ones that do not change from call to call. More...

#include <IDraw2d.h>

Public Attributes

AZStd::string fontName
 default is "default"
 
unsigned int effectIndex
 default is 0
 
AZ::Vector3 color
 default is (1,1,1)
 
HAlign horizontalAlignment
 default is HAlign::Left
 
VAlign verticalAlignment
 default is VAlign::Top
 
AZ::Vector2 dropShadowOffset
 default is (0,0), zero offset means no drop shadow is drawn
 
AZ::Color dropShadowColor
 default is (0,0,0,0), zero alpha means no drop shadow is drawn
 
float rotation
 default is 0
 
bool depthTestEnabled
 default is false
 

Detailed Description

Struct used to pass additional text options - mostly ones that do not change from call to call.

If this is not passed then the defaults below are used


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