NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
BMSymbol Class Reference

Symbols are a sequence of characters such as ":)" that get replaced with a sprite, such as the smiley face. More...

Public Member Functions

void MarkAsChanged ()
 Mark this symbol as dirty, clearing the sprite reference. More...
 
bool Validate (UIAtlas atlas)
 Validate this symbol, given the specified atlas. More...
 

Public Attributes

string sequence
 
string spriteName
 

Properties

int length [get]
 
int offsetX [get]
 
int offsetY [get]
 
int width [get]
 
int height [get]
 
int advance [get]
 
Rect uvRect [get]
 

Detailed Description

Symbols are a sequence of characters such as ":)" that get replaced with a sprite, such as the smiley face.

Member Function Documentation

void BMSymbol.MarkAsChanged ( )

Mark this symbol as dirty, clearing the sprite reference.

bool BMSymbol.Validate ( UIAtlas  atlas)

Validate this symbol, given the specified atlas.

Member Data Documentation

string BMSymbol.sequence
string BMSymbol.spriteName

Property Documentation

int BMSymbol.advance
get
int BMSymbol.height
get
int BMSymbol.length
get
int BMSymbol.offsetX
get
int BMSymbol.offsetY
get
Rect BMSymbol.uvRect
get
int BMSymbol.width
get

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