SlateDebugger.Paint.Start

SlateDebugger.Paint.Start

#Overview

name: SlateDebugger.Paint.Start

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/SlateCore/Private/Debugging/ConsoleSlateDebuggerPaint.cpp:34

Scope (from outer to inner):

file
function     FConsoleSlateDebuggerPaint::FConsoleSlateDebuggerPaint

Source code excerpt:

	, PIEWindowTag("PIEWindow")
	, ShowPaintWidgetCommand(
		TEXT("SlateDebugger.Paint.Start")
		, TEXT("Start the painted widget debug tool. Use to show widget that have been painted this frame.")
		, FConsoleCommandDelegate::CreateRaw(this, &FConsoleSlateDebuggerPaint::StartDebugging))
	, HidePaintWidgetCommand(
		TEXT("SlateDebugger.Paint.Stop")
		, TEXT("Stop the painted widget debug tool.")
		, FConsoleCommandDelegate::CreateRaw(this, &FConsoleSlateDebuggerPaint::StopDebugging))

#Loc: <Workspace>/Engine/Source/Runtime/SlateCore/Private/Debugging/ConsoleSlateDebuggerPaint.h:24

Scope: file

Source code excerpt:

 * Allows debugging the behavior of SWidget::Paint from the console.
 * Basics:
 *   Start - SlateDebugger.Paint.Start
 *   Stop  - SlateDebugger.Paint.Stop
 */
class FConsoleSlateDebuggerPaint
{
public:
	FConsoleSlateDebuggerPaint();
	virtual ~FConsoleSlateDebuggerPaint();

	void StartDebugging();
	void StopDebugging();
	bool IsEnabled() const { return bEnabled; }