UThumbnailRenderer::GetThumbnailSize

Calculates the size the thumbnail would be at the specified zoom level

Windows
MacOS
Linux

Override Hierarchy

References

Module

UnrealEd

Header

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

Include

#include "ThumbnailRendering/ThumbnailRenderer.h"

Syntax

virtual void GetThumbnailSize
(
    UObject * Object,
    float Zoom,
    uint32 & OutWidth,
    uint32 & OutHeight
) const

Remarks

Calculates the size the thumbnail would be at the specified zoom level

Parameters

Parameter

Description

Object

the object the thumbnail is of

Zoom

the current multiplier of size

OutWidth

the var that gets the width of the thumbnail

OutHeight

the var that gets the height

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