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
| Name | Value |
NULLCHARACTER | 127 |
Structs
FontCharacter
| Field | Type |
StartU | int |
StartV | int |
USize | int |
VSize | int |
TextureIndex | BYTE |
VerticalOffset | int |
Properties
| Name | Type | Notes |
Ascent | float | |
Characters | array<FontCharacter> | |
CharRemap | Map | const, native, private |
Descent | float | |
EmScale | float | |
ImportOptions | FontImportOptionsData | |
IsRemapped | int | |
Kerning | int | |
Leading | float | |
MaxCharHeight | array | transient |
NumCharacters | int | transient |
ScalingFactor | float | const |
Textures | array<Texture2D> | |
Functions
| Name | Declaration |
GetAuthoredViewportHeight | final native function float GetAuthoredViewportHeight(float ViewportHeight) |
GetMaxCharHeight | native function float GetMaxCharHeight() |
GetResolutionPageIndex | native function int GetResolutionPageIndex(float HeightTest) |
GetScalingFactor | native function float GetScalingFactor(float HeightTest) |
GetStringHeightAndWidth | native function GetStringHeightAndWidth(const out string InString, out int Height, out int Width) |
Default values
Inherited
| From | Members |
| Object | 13 properties, 308 functions |