ACharacter::RootMotionDebugClientPrintOnScreen
#include "GameFramework/Character.h"
Access: public
Specifiers: ENGINE_APIReliableClient
Description
Reliable Client RPC used by the root motion debugging system to display a message on the client's screen. Used internally when root motion debug visualization is enabled.
Caveats & Gotchas
- • This is a reliable RPC — using it frequently for high-frequency debug output can saturate the reliable channel. The underlying debug system should gate calls with a CVar.
- • The actual rendering is in RootMotionDebugClientPrintOnScreen_Implementation(). Override the _Implementation if you need custom debug output behavior, not this stub.
Signature
ENGINE_API void RootMotionDebugClientPrintOnScreen(const FString& InString); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| InString | const FString& | The debug message to print on the client's screen. | — |
Return Type
void Example
Trigger root motion debug output on client from server C++
// Typically called by root motion source management:
if (CVarRootMotionDebug.GetValueOnGameThread() > 0)
{
RootMotionDebugClientPrintOnScreen(FString::Printf(TEXT("AppliedRM: %s"), *SourceName));
} See Also
Version History
Introduced in: 4.14
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?