MCPcopy Create free account
hub / github.com/20tab/UnrealEnginePython / OnClearLog

Method OnClearLog

Source/PythonConsole/Private/SPythonLog.cpp:477–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477void SPythonLog::OnClearLog()
478{
479 // Make sure the cursor is back at the start of the log before we clear it
480 MessagesTextBox->GoTo(FTextLocation(0));
481
482 MessagesTextMarshaller->ClearMessages();
483 MessagesTextBox->Refresh();
484 bIsUserScrolled = false;
485}
486
487void SPythonLog::OnUserScrolled(float ScrollOffset)
488{

Callers

nothing calls this directly

Calls 1

ClearMessagesMethod · 0.80

Tested by

no test coverage detected