Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
TextFieldHudgetVoxels Class Reference
Collaboration diagram for TextFieldHudgetVoxels:
[legend]

Public Member Functions

 TextFieldHudgetVoxels (TextFieldHudget *textFieldHudget, const glm::vec3 &direction, float scale=0.5f, const std::string &text="", FontSize fontSize=FontSize::SIZE5x7)
 
void setText (const std::string &text)
 
void update (float deltaSec)
 
void draw ()
 
virtual bool isAt (const Ray &ray) const
 
float width ()
 
float height ()
 
float scale ()
 

Protected Member Functions

const glm::vec3 offsetToCenter (bool upper, bool left) const
 
const glm::vec3 upperLeft () const
 
const glm::vec3 lowerLeft () const
 
const glm::vec3 upperRight () const
 
const glm::vec3 lowerRight () const
 
glm::vec3 worldPosition () const
 
glm::quat worldOrientation () const
 

Protected Attributes

FontSize m_fontSize
 
TextFieldHudgetm_textFieldHudget
 
std::string m_text
 
VoxelFontm_voxelFont
 
glm::vec3 m_direction
 
float m_width
 
float m_height
 
float m_scale
 
float m_offset
 

The documentation for this class was generated from the following files: