All Classes Namespaces
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Properties
BitmapFont.Renderer Class Reference
Collaboration diagram for BitmapFont.Renderer:
Collaboration graph
[legend]

List of all members.

Classes

class  compFirst
class  compSecond
class  LineContext

Public Types

enum  Align { LEFT, RIGHT, CENTER }
enum  VerticalAlign { TOP, BOTTOM, MIDDLE }

Public Member Functions

 Renderer (string fontName, float size=0, float width=0, float height=0, Align align=Align.LEFT, VerticalAlign verticalAlign=VerticalAlign.TOP, float spaceAdvance=0.25f, float lineSpacing=1.0f, float letterSpacing=0.0f, float tabSpacing=4.0f, float leftMargin=0.0f, float rightMargin=0.0f)
void Destruct ()
virtual bool SetText (string text, Color color)
virtual bool SetText (string text, Color[] colors)
virtual string GetText ()
virtual void Render (Matrix4x4 matrix, Camera camera=null)
virtual void Render (Matrix4x4 matrix, Color multColor, int layer=0, Camera camera=null)

Protected Member Functions

virtual Metric SearchMetric (char c)

Protected Attributes

Data mData
Mesh mMesh
Material mMaterial
MaterialPropertyBlock mProperty
string mName
string mText
float mSize
float mWidth
float mHeight
float mLineSpacing
float mLetterSpacing
float mTabSpacing
float mLeftMargin
float mRightMargin
float mAsciiSpaceAdvance
float mNonAsciiSpaceAdvance
Align mAlign
VerticalAlign mVerticalAlign
bool mEmpty

Properties

Mesh mesh [get]
Material material [get]

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