Slate.VerifyParentChildrenRelationship
Slate.VerifyParentChildrenRelationship
#Overview
name: Slate.VerifyParentChildrenRelationship
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Every tick, verify that a widget has only one parent.
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/Slate/Private/Framework/Application/SlateApplication.cpp:70
Scope: file
Source code excerpt:
bool GSlateVerifyParentChildrenRelationship = false;
static FAutoConsoleVariableRef CVarSlateVerifyParentChildrenRelationship(
TEXT("Slate.VerifyParentChildrenRelationship"),
GSlateVerifyParentChildrenRelationship,
TEXT("Every tick, verify that a widget has only one parent.")
);
bool GSlateVerifyWidgetLayerId = false;
static FAutoConsoleVariableRef CVarSlateVerifyWidgetLayerId(
#Loc: <Workspace>/Engine/Source/Developer/SlateReflector/Private/Widgets/SSlateOptions.cpp:102
Scope (from outer to inner):
file
function void SSlateOptions::Construct
function static TSharedRef<SWidget> FillToolbar
Source code excerpt:
FSlateIcon Icon(FWidgetReflectorStyle::GetStyleSetName(), "Icon.Empty");
#if WITH_SLATE_DEBUGGING
AddMenuEntry(MenuBuilder, Icon, LOCTEXT("VerifyParentChildrenRelationship", "Verify Parent/Children Relationship"), TEXT("Slate.VerifyParentChildrenRelationship"));
AddMenuEntry(MenuBuilder, Icon, LOCTEXT("VerifyLayerId", "Verify LayerId"), TEXT("Slate.VerifyWidgetLayerId"));
AddMenuEntry(MenuBuilder, Icon, LOCTEXT("VerifyOutgoingLayerId", "Verify Outgoing LayerId"), TEXT("Slate.EnsureOutgoingLayerId"));
#endif // WITH_SLATE_DEBUGGING
{
MenuBuilder.BeginSection("InvalidationRoot", LOCTEXT("Invalidation", "Invalidation"));