UThumbnailManager

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/ThumbnailRendering/ThumbnailManager.h

Include

#include "ThumbnailRendering/ThumbnailManager.h"

Syntax

class UThumbnailManager : public UObject

Variables

Name Description

Public variable

UTextureCube &#...

 

AmbientCubemap

Protected variable

bool

 

bIsInitialized

Determines whether the initialization function is needed or not

Protected variable

bool

 

bMapNeedsUpdate

Whether to update the map or not (GC usually causes this)

Public variable

UTexture2D *...

 

CheckerboardTexture

Public variable

UStaticMesh ...

 

EditorCube

All these meshes/materials/textures are preloaded via default properties.

Public variable

UStaticMesh ...

 

EditorCylinder

Public variable

UStaticMesh ...

 

EditorPlane

Public variable

UStaticMesh ...

 

EditorSkySphere

Public variable

UStaticMesh ...

 

EditorSphere

Public variable

UMaterial *

 

FloorPlaneMaterial

Public variable

FThumbnailRende...

 

NotSupported

The render info to share across all object types when the object doesn't support rendering of thumbnails

Protected variable

TArray< struct ...

 

RenderableThumbnailTypes

The array of thumbnail rendering information entries.

Protected variable

TMap< UClass &#...

 

RenderInfoMap

This holds a map of object type to render info entries

Protected variable

FString

 

ThumbnailManagerClassName

Holds the name of the thumbnail manager singleton class to instantiate

Constructors

Name Description

Public function

UThumbnailManager

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static

bool

 

CaptureProjectThumbnail

(
    FViewport* Viewport,
    const FString& OutputFilename,
    bool bUseSCCIfPossible
)

Writes out a png of what is currently in the specified viewport, scaled appropriately

Public function Static

UThumbnailMa...

 

Get()

Returns the thumbnail manager and creates it if missing

Public function

FThumbnailRe...

 

GetRenderingInfo

(
    UObject* Object
)

Returns the entry for the specified object

Public function

void

 

Initialize()

Fixes up any classes that need to be loaded in the thumbnail types

Protected function

void

 

InitializeRenderTypeArray

(
    TArray< struct FThumbnailRenderingI...
)

Fixes up any classes that need to be loaded in the thumbnail types per-map type

Public function Virtual

void

 

RegisterCustomRenderer

(
    UClass* Class,
    TSubclassOf< UThumbnailRenderer > R...
)

Registers a custom thumbnail renderer for a specific class

Public function Virtual

void

 

UnregisterCustomRenderer

(
    UClass* Class
)

Unregisters a custom thumbnail renderer for a specific class

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Constants

Name

Description

ThumbnailManagerSingleton

Manager responsible for configuring and rendering thumbnails

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss