ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
CP_SDK::Unity::FontManager Class Reference

Open type to TextMeshPro font manager. More...

#include <FontManager.hpp>

Static Public Member Functions

static bool IsInitialized ()
 
static std::u16string_view MainFontName ()
 
static std::u16string_view ChatFontName ()
 
static void Setup (_v::CFuncRef< _u::TMP_FontAsset *, _u::TMP_FontAsset * > p_TMPFontAssetSetup)
 Setup for specific app.
 
static void Init ()
 Init the font manager.
 
static _u::TMP_FontAsset * GetMainFont ()
 Get main font.
 
static _u::TMP_FontAsset * GetChatFont ()
 Get chat font.
 

Detailed Description

Open type to TextMeshPro font manager.

Definition at line 23 of file FontManager.hpp.

Member Function Documentation

◆ ChatFontName()

static std::u16string_view CP_SDK::Unity::FontManager::ChatFontName ( )
inlinestatic

Definition at line 40 of file FontManager.hpp.

◆ GetChatFont()

static _u::TMP_FontAsset * CP_SDK::Unity::FontManager::GetChatFont ( )
static

Get chat font.

◆ GetMainFont()

static _u::TMP_FontAsset * CP_SDK::Unity::FontManager::GetMainFont ( )
static

Get main font.

◆ Init()

static void CP_SDK::Unity::FontManager::Init ( )
static

Init the font manager.

◆ IsInitialized()

static bool CP_SDK::Unity::FontManager::IsInitialized ( )
inlinestatic

Definition at line 38 of file FontManager.hpp.

◆ MainFontName()

static std::u16string_view CP_SDK::Unity::FontManager::MainFontName ( )
inlinestatic

Definition at line 39 of file FontManager.hpp.

◆ Setup()

static void CP_SDK::Unity::FontManager::Setup ( _v::CFuncRef< _u::TMP_FontAsset *, _u::TMP_FontAsset * >  p_TMPFontAssetSetup)
static

Setup for specific app.

Parameters
p_TMPFontAssetSetupFont setup function

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