Tesla Graphics Engine Documentation (January 2012)
Glyph Structure
TeslaTesla.GraphicsGlyph
Represents a glyph on a texture.
Declaration Syntax
C#
public struct Glyph
Members
All Members Constructors Methods Properties



Icon Member Description
Glyph(Char, Rectangle, Vector3)
Creates a new instance of Glyph.

Cropping
Cropping rectangle, scaled by the sprite's texture width/height to produce the UV coordinates of the sprite.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Literal
Character the glyph corresponds to.

Offsets
Screen offsets representing how the glyph is aligned. X,Y coordinates are the top-left origin of the quad on the screen. The Z coordinate is the amount of space to add from the top-left corner to the next gylph's top-left corner along the X-Axis.

ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)