Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > ThumbnailRendering
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UThumbnailManager
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/ThumbnailRendering/ThumbnailManager.h |
Include | #include "ThumbnailRendering/ThumbnailManager.h" |
Syntax
class UThumbnailManager : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< class UTextureCube > | AmbientCubemap | |
![]() |
bool | bIsInitialized | Determines whether the initialization function is needed or not |
![]() |
bool | bMapNeedsUpdate | Whether to update the map or not (GC usually causes this) |
![]() |
TObjectPtr< class UTexture2D > | CheckerboardTexture | |
![]() |
TObjectPtr< class UStaticMesh > | EditorCube | All these meshes/materials/textures are preloaded via default properties. |
![]() |
TObjectPtr< class UStaticMesh > | EditorCylinder | |
![]() |
TObjectPtr< class UStaticMesh > | EditorPlane | |
![]() |
TObjectPtr< class UStaticMesh > | EditorSkySphere | |
![]() |
TObjectPtr< class UStaticMesh > | EditorSphere | |
![]() |
TObjectPtr< class UMaterial > | FloorPlaneMaterial | |
![]() |
FThumbnailRenderingInfo | NotSupported | The render info to share across all object types when the object doesn't support rendering of thumbnails |
![]() |
FOnThumbnailDirtied | OnThumbnailDirtied | |
![]() |
TArray< struct FThumbnailRenderingInfo > | RenderableThumbnailTypes | The array of thumbnail rendering information entries. |
![]() |
TMap< UClass *, FThumbnailRenderingInfo * > | RenderInfoMap | This holds a map of object type to render info entries |
![]() |
TSharedPtr< FAssetThumbnailPool > | SharedThumbnailPool | Thumbnail pool used for most thumbnails in the editor |
![]() |
FString | ThumbnailManagerClassName | Holds the name of the thumbnail manager singleton class to instantiate |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UThumbnailManager
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CaptureProjectThumbnail
(
FViewport* Viewport, |
Writes out a png of what is currently in the specified viewport, scaled appropriately |
![]() ![]() |
UThumbnailManager & | Get () |
Returns the thumbnail manager and creates it if missing |
![]() |
FOnThumbnailDirtied & | Event that is being broadcasted when a thumbnail gets dirtied. | |
![]() |
FThumbnailRenderingInfo * | GetRenderingInfo
(
UObject* Object |
Returns the entry for the specified object |
![]() ![]() |
TSharedPtr< FAssetThumbnailPool > | Returns the thumbnail pool which should be used for most thumbnails in the editor. | |
![]() |
void | Initialize () |
Fixes up any classes that need to be loaded in the thumbnail types |
![]() |
void | InitializeRenderTypeArray
(
TArray< struct FThumbnailRenderingInfo >& ThumbnailRendererTypes |
Fixes up any classes that need to be loaded in the thumbnail types per-map type |
![]() ![]() |
void | RegisterCustomRenderer
(
UClass* Class, |
Registers a custom thumbnail renderer for a specific class |
![]() ![]() |
UThumbnailManager * | TryGet () |
Returns the thumbnail manager if it exists |
![]() ![]() |
void | UnregisterCustomRenderer
(
UClass* Class |
Unregisters a custom thumbnail renderer for a specific class |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Constants
Name | Description |
---|---|
ThumbnailManagerSingleton | Manager responsible for configuring and rendering thumbnails |