
Text sprite batch renderer. Responsible to drawing a batch of characters sprites.
Kind: global class
BooleanNumberColorCreate the text sprites batch.
| Param | Type | Description |
|---|---|---|
| [batchSpritesCount] | Number |
Internal buffers size, in sprites count (sprite = 4 vertices). Bigger value = faster rendering but more RAM. |
BooleanIf true, will render as Msdf Fonts.
Kind: instance property of TextSpriteBatch
NumberIf bigger than 0, will draw outline. Currently not supported with msdf fonts. Must be set before begin() is called.
Kind: instance property of TextSpriteBatch
ColorOutline color, when outlineWeight is set. Must be set before begin() is called.
Kind: instance property of TextSpriteBatch
Kind: instance property of TextSpriteBatch
Add text sprites group to batch.
Kind: instance method of TextSpriteBatch
| Param | Type | Description |
|---|---|---|
| textGroup | SpritesGroup |
Text sprite group to draw. |
| cullOutOfScreen | Boolean |
If true, will cull out sprites that are not visible in screen. |