1
0
KF2-Dev-Scripts/UnrealEd/Classes/DefaultSizedThumbnailRenderer.uc

35 lines
880 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*
* This thumbnail renderer holds some commonly shared properties
*/
class DefaultSizedThumbnailRenderer extends ThumbnailRenderer
native
abstract
config(Editor);
/**
* The default width of this thumbnail
*/
var config int DefaultSizeX;
/**
* The default height of this thumbnail
*/
var config int DefaultSizeY;
cpptext
{
/**
* Calculates the size the thumbnail would be at the specified zoom level.
*
* @param Object the object the thumbnail is of
* @param PrimType ignored
* @param Zoom the current multiplier of size
* @param OutWidth the var that gets the width of the thumbnail
* @param OutHeight the var that gets the height
*/
virtual void GetThumbnailSize(UObject* Object,EThumbnailPrimType,
FLOAT Zoom,DWORD& OutWidth,DWORD& OutHeight);
}