M3Text2D class

ASCII text renderer using a monospaced font texture atlas.

Inheritance

Constructors

M3Text2D(M3Texture tex)

Properties

cellH ↔ double
getter/setter pairinherited
cellW ↔ double
getter/setter pairinherited
colCount ↔ int
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
mtr ↔ M3Material
getter/setter pairinherited
rowCount ↔ int
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spriteH ↔ double
getter/setter pairinherited
spriteW ↔ double
getter/setter pairinherited

Methods

dispose() → void
inherited
draw(Matrix4 mMatrix, {int index = 0, Vector4? color}) → void
inherited
drawText(String text, Matrix4 mMatrix, {Vector4? color}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

firstChar → int
final
lastChar → int
final

Static Methods

createText2D({double fontSize = 32}) → Future<M3Text2D>