Struct GlyphOnMap
Used in conjunction with a FontMap containing information about a rendered character (glyph) on a font map texture.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Engine.Core
Assembly: Fusee.Engine.Core.dll
Syntax
public struct GlyphOnMap
Fields
BitmapH
The height of this char on the font map texture.
Declaration
public float BitmapH
Field Value
Type | Description |
---|---|
System.Single |
BitmapL
The left border of this char on the font map texture.
Declaration
public float BitmapL
Field Value
Type | Description |
---|---|
System.Single |
BitmapT
The top border of this char on the font map texture.
Declaration
public float BitmapT
Field Value
Type | Description |
---|---|
System.Single |
BitmapW
The width of this char on the font map texture.
Declaration
public float BitmapW
Field Value
Type | Description |
---|---|
System.Single |
PosXOnTex
The x-offset of this char on the font map texture in px.
Declaration
public float PosXOnTex
Field Value
Type | Description |
---|---|
System.Single |
PosXOnTexPercent
The x-offset of this char on the font map texture in range [0, 1].
Declaration
public float PosXOnTexPercent
Field Value
Type | Description |
---|---|
System.Single |
PosYOnTex
The y-offset of this char on the font map texture in px.
Declaration
public float PosYOnTex
Field Value
Type | Description |
---|---|
System.Single |
PosYOnTexPercent
The y-offset of this char on the font map texture in range [0, 1].
Declaration
public float PosYOnTexPercent
Field Value
Type | Description |
---|---|
System.Single |