ASCIITexture
Extends:
three~CanvasTexture → ASCIITexture
An ASCII character lookup texture.
Constructor Summary
Public Constructor | ||
public |
constructor(options: Object) Constructs a new ASCII texture. |
Member Summary
Public Members | ||
public |
The cell count along each side of the texture. |
|
public |
The amount of characters in this texture. |
Public Constructors
public constructor(options: Object) source
Constructs a new ASCII texture.
Params:
Name | Type | Attribute | Description |
options | Object |
|
The options. |
options.characters | String |
|
The character set to render. Defaults to a common ASCII art charset. |
options.font | String |
|
The font. |
options.fontSize | Number |
|
The font size in pixels. |
options.size | Number |
|
The texture size. |
options.cellCount | Number |
|
The cell count along each side of the texture. |