Rebel Fork Framework
Urho3D::TextParams3D Struct Reference

Parameters of rendered 3D text. More...

#include <Urho3D/UI/TextRenderer3D.h>

Public Member Functions

void RecalculateHash ()
 Recalculate parameter hash.
 
unsigned ToHash () const
 Return precomputed parameter hash.
 
bool operator== (const TextParams3D &rhs) const
 Compare to another object.
 

Public Attributes

ea::string text_
 Text.
 
SharedPtr< Fontfont_
 Font. Default font is used if none.
 
float fontSize_ {}
 Font size.
 
FaceCameraMode faceCamera_ { FC_ROTATE_XYZ }
 Face camera mode.
 
bool fixedScreenSize_ { true }
 Whether to keep fixed screen size.
 
bool snapToPixels_ { true }
 Whether to snap text to pixels.
 
HorizontalAlignment horizontalAlignment_ { HA_CENTER }
 Horizontal alignment.
 
VerticalAlignment verticalAlignment_ { VA_CENTER }
 Vertical alignment.
 
HorizontalAlignment textAlignment_ { HA_CENTER }
 Text alignment.
 
bool depthTest_ {true}
 Depth test mode.
 
unsigned viewMask_ {DEFAULT_VIEWMASK}
 View mask.
 
unsigned hash_ {}
 Precomputed parameter hash.
 

Detailed Description

Parameters of rendered 3D text.


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