Reattach.Components

Reattach.Components

#Overview

name: Reattach.Components

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/Engine/Private/EngineGlobals.cpp:170

Scope: file

Source code excerpt:


FAutoConsoleCommand ReattachComponentsCmd(
	TEXT("Reattach.Components"),
	TEXT("Useful for debugging, reattaches all components. Parameter needs to be the class name.\n")
	TEXT(" Example: Reattach.Components class=SkeletalMeshComponent"),
	FConsoleCommandWithArgsDelegate::CreateStatic(&ReattachComponents)
	);

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/EngineGlobals.cpp:143

Scope (from outer to inner):

file
function     void ReattachComponents

Source code excerpt:

	}

	UE_LOG(LogConsoleResponse, Display, TEXT("Reattach.Components:"));

	UClass* Class=NULL;
	if( ParseObject<UClass>( *Args[0], TEXT("CLASS="), Class, nullptr ) &&
		Class->IsChildOf(UActorComponent::StaticClass()) )
	{
		for( FThreadSafeObjectIterator It(Class); It; ++It )