Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
KSPFontAsset Class Reference

Public Member Functions

TMP_FontAsset GetFontAsset (UnityEngine.Object[] fontMaterials, UnityEngine.Object[] fontAtlas)
 Creates an instance of a TMPro FontAsset from this KSP FontAsset More...
 
 KSPFontAsset ()
 Emtpy constructor used for serialization More...
 
 KSPFontAsset (TMP_FontAsset font)
 Creates a new instance of KSP FontAsset form a TMPro FontAsset More...
 

Constructor & Destructor Documentation

KSPFontAsset.KSPFontAsset ( )
inline

Emtpy constructor used for serialization

KSPFontAsset.KSPFontAsset ( TMP_FontAsset  font)
inline

Creates a new instance of KSP FontAsset form a TMPro FontAsset

Parameters
font

Member Function Documentation

TMP_FontAsset KSPFontAsset.GetFontAsset ( UnityEngine.Object[]  fontMaterials,
UnityEngine.Object[]  fontAtlas 
)
inline

Creates an instance of a TMPro FontAsset from this KSP FontAsset

Parameters
fontMaterialsArray of posible materials used in the font
fontAtlasArray of available font atlas used in the font
Returns

The documentation for this class was generated from the following file: