AGX Dynamics  2.37.3.2
agxRender::RenderSingleton::Text Class Reference

Defines Text to be used in DebugRendering. More...

#include <RenderSingleton.h>

Public Member Functions

 Text ()
 
 Text (const agx::String &text, const agx::Vec2 &position, const agx::Vec4f &color=agx::Vec4f(1, 1, 1, 1))
 
agx::Vec4f & color ()
 
agx::Vec2 & position ()
 
agx::String & text ()
 

Detailed Description

Defines Text to be used in DebugRendering.

Definition at line 129 of file RenderSingleton.h.

Constructor & Destructor Documentation

◆ Text() [1/2]

agxRender::RenderSingleton::Text::Text ( )
inline

Definition at line 132 of file RenderSingleton.h.

◆ Text() [2/2]

agxRender::RenderSingleton::Text::Text ( const agx::String &  text,
const agx::Vec2 &  position,
const agx::Vec4f &  color = agx::Vec4f( 1, 1, 1, 1 ) 
)
inline

Definition at line 133 of file RenderSingleton.h.

Member Function Documentation

◆ color()

agx::Vec4f& agxRender::RenderSingleton::Text::color ( )
inline

Definition at line 142 of file RenderSingleton.h.

◆ position()

agx::Vec2& agxRender::RenderSingleton::Text::position ( )
inline

Definition at line 139 of file RenderSingleton.h.

◆ text()

agx::String& agxRender::RenderSingleton::Text::text ( )
inline

Definition at line 136 of file RenderSingleton.h.


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