Skip to content

Font

Class in Engine · Engine.Font · native

Object › Font

Subclasses: MultiFont

Using it from Lua
h7.find_all("Font")            -- live instances
h7.find_class("Engine.Font")   -- the class
h7.hook("Engine.Font.GetAuthoredViewportHeight", fn)

Constants

NameValue
NULLCHARACTER127

Structs

FontCharacter

FieldType
StartUint
StartVint
USizeint
VSizeint
TextureIndexBYTE
VerticalOffsetint

Properties

NameTypeNotes
Ascentfloat
Charactersarray<FontCharacter>
CharRemapMapconst, native, private
Descentfloat
EmScalefloat
ImportOptionsFontImportOptionsData
IsRemappedint
Kerningint
Leadingfloat
MaxCharHeightarraytransient
NumCharactersinttransient
ScalingFactorfloatconst
Texturesarray<Texture2D>

Functions

NameDeclaration
GetAuthoredViewportHeightfinal native function float GetAuthoredViewportHeight(float ViewportHeight)
GetMaxCharHeightnative function float GetMaxCharHeight()
GetResolutionPageIndexnative function int GetResolutionPageIndex(float HeightTest)
GetScalingFactornative function float GetScalingFactor(float HeightTest)
GetStringHeightAndWidthnative function GetStringHeightAndWidth(const out string InString, out int Height, out int Width)

Default values

ScalingFactor=1.0

Inherited

FromMembers
Object13 properties, 308 functions