DefaultSizeX

DefaultSizeX

#Overview

name: DefaultSizeX

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:71, section: [/Script/UnrealEd.DefaultSizedThumbnailRenderer]

#References in C++ code

#Callsites

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

#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Classes/ThumbnailRendering/DefaultSizedThumbnailRenderer.h:21

Scope (from outer to inner):

file
class        class UDefaultSizedThumbnailRenderer : public UThumbnailRenderer

Source code excerpt:

	 */
	UPROPERTY(config)
	int32 DefaultSizeX;

	/**
	 * The default height of this thumbnail
	 */
	UPROPERTY(config)
	int32 DefaultSizeY;

#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/ThumbnailRendering/DefaultSizedThumbnailRenderer.cpp:13

Scope (from outer to inner):

file
function     void UDefaultSizedThumbnailRenderer::GetThumbnailSize

Source code excerpt:

void UDefaultSizedThumbnailRenderer::GetThumbnailSize(UObject*, float Zoom, uint32& OutWidth, uint32& OutHeight) const
{
	OutWidth = FMath::TruncToInt(DefaultSizeX * Zoom);
	OutHeight = FMath::TruncToInt(DefaultSizeY * Zoom);
}