bAllowWorldThumbnails

bAllowWorldThumbnails

#Overview

name: bAllowWorldThumbnails

The value of this variable can be defined or overridden in .ini config files. 1 .ini config file referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/BaseEditor.ini:139, section: [/Script/UnrealEd.WorldThumbnailRenderer]

#References in C++ code

#Callsites

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

#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Classes/ThumbnailRendering/WorldThumbnailRenderer.h:45

Scope (from outer to inner):

file
class        class UWorldThumbnailRenderer : public UDefaultSizedThumbnailRenderer

Source code excerpt:

	/** If false, all world thumbnails rendering will be disabled */
	UPROPERTY(config)
	bool bAllowWorldThumbnails;
};

#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/ThumbnailRendering/WorldThumbnailRenderer.cpp:19

Scope (from outer to inner):

file
function     UWorldThumbnailRenderer::UWorldThumbnailRenderer

Source code excerpt:

	GlobalOrbitYawOffset = 0.f;
	bUseUnlitScene = false;
	bAllowWorldThumbnails = false;
}

bool UWorldThumbnailRenderer::CanVisualizeAsset(UObject* Object)
{
	if (bAllowWorldThumbnails)
	{
		UWorld* World = Cast<UWorld>(Object);
		if (World && World->PersistentLevel)
		{
			// If this is a world, only render the current persistent editor world. Other worlds don't have an initialized scene to render.
			return World->bIsWorldInitialized;