Source/Sample/NetImguiDemoActor.cpp
//=================================================================================================
// Helper function to display a sample text with a particualr font
//=================================================================================================
Helper function to display a sample text with a particualr font
Helper function to display a sample text with a particualr font
void ShowScopedFont(FNetImguiModule::eFont font)
{
    NetImguiScopedFont scopedFont(font); 
    ImGui::NewLine();
    ImGui::TextColored(kHighlightColor, "Font: %s", ImGui::GetFont()->GetDebugName());
    ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.");
}
void ShowScopedFont ( FNetImguiModule :: eFont font ) { NetImguiScopedFont scopedFont ( font ) ; ImGui :: NewLine ( ) ; ImGui :: TextColored ( kHighlightColor , " " , ImGui :: GetFont ( ) -> GetDebugName ( ) ) ; ImGui :: TextWrapped ( " " ) ; }
Helper function to display a sample text with a particualr font
Helper function to display a sample text with a particualr font
// This will automatically change the current font, and restore to previous value once out of scope // Display Font name and sample text filler